Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01086/0.01086, allocations: 102.4 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002501/0.002501, allocations: 199.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.88 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2924, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00192/0.2943, allocations: 0.7126 MB / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2958, allocations: 1.131 MB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.2958, allocations: 4 kB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.2959, allocations: 7.938 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.296, allocations: 11.86 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.2965, allocations: 125.4 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.2967, allocations: 135.7 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.2968, allocations: 15.98 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.486e-05/0.2969, allocations: 47.91 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.297, allocations: 39.88 kB / 1.21 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.297, allocations: 12 kB / 1.21 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.2971, allocations: 27.98 kB / 1.21 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.2971, allocations: 11.88 kB / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.2972, allocations: 43.84 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2974, allocations: 132 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2974, allocations: 4 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2974, allocations: 3.938 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2974, allocations: 0 / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004828/0.2979, allocations: 404.9 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2979, allocations: 8.625 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.298, allocations: 30.75 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.298, allocations: 12.84 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2982, allocations: 176.3 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2982, allocations: 4.375 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.2982, allocations: 4.375 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.902e-05/0.2983, allocations: 46.19 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.2983, allocations: 3.938 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2983, allocations: 8 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2983, allocations: 0 / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.2984, allocations: 12 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.2988, allocations: 332.6 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.2988, allocations: 35 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.2989, allocations: 12.92 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.2989, allocations: 4 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.299, allocations: 59.39 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.2991, allocations: 4 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001917/0.2993, allocations: 81.52 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.2993, allocations: 51.41 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2994, allocations: 125.8 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.2994, allocations: 29.7 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.2995, allocations: 96.12 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.2995, allocations: 3.906 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.2996, allocations: 33.7 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.2997, allocations: 322.8 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.2998, allocations: 35.98 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.2999, allocations: 58.55 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.3, allocations: 96.2 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3, allocations: 0 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002597/0.3003, allocations: 163.2 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.3003, allocations: 37.69 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3003, allocations: 0 / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3003, allocations: 0 / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.3004, allocations: 8 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.3004, allocations: 3.938 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3006, allocations: 32.09 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.3006, allocations: 4 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.764e-05/0.3007, allocations: 129.7 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.3008, allocations: 3.906 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.3008, allocations: 8.141 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3008, allocations: 0 / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3008, allocations: 3.984 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3008, allocations: 7.938 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.3009, allocations: 181.6 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.301, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.301, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.301, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.301, allocations: 4 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.301, allocations: 0 / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.301, allocations: 0 / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.3011, allocations: 92.95 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.3012, allocations: 85.11 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.3012, allocations: 0 / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.3012, allocations: 0 / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.3012, allocations: 4 kB / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3013, allocations: 3.984 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.3013, allocations: 95.28 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.453e-06/0.3013, allocations: 0 / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002168/0.3015, allocations: 27.86 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004075/0.302, allocations: 0.6397 MB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.3022, allocations: 131.3 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3022, allocations: 0 / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.3022, allocations: 16 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3024, allocations: 20.11 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3039, allocations: 1.499 MB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.3041, allocations: 0.6884 MB / 1.216 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.3042, allocations: 4 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.3042, allocations: 19.44 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3042, allocations: 0 / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.3222, allocations: 2.398 MB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.113, allocations: 6.469 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches