Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001618, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 197 kB / 16.63 MB, free: 6.609 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.637/1.637, allocations: 222.9 MB / 240.3 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.28 kB / 0.9509 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3659, allocations: 140.4 MB / 1.088 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002518/0.3684, allocations: 0.717 MB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.3709, allocations: 1.13 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.371, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.639e-05/0.3711, allocations: 11.92 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.3712, allocations: 11.86 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.3719, allocations: 139.6 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.3722, allocations: 127.8 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.3724, allocations: 12 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3725, allocations: 47.89 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.3727, allocations: 39.89 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.3727, allocations: 12 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3729, allocations: 31.92 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.3729, allocations: 7.938 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.3732, allocations: 47.83 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.3735, allocations: 139.6 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3735, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3735, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.3735, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 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.0009194/0.3744, allocations: 397 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3745, allocations: 8.031 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.3746, allocations: 8.938 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.3748, allocations: 176.2 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.3748, allocations: 4.375 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.3749, allocations: 12.31 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.375, allocations: 42.25 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.375, allocations: 192 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.375, allocations: 3.938 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3751, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.3751, allocations: 15.98 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00094/0.3761, allocations: 324.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.52e-05/0.3762, allocations: 34.45 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.3762, allocations: 12.92 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.3763, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.3766, allocations: 75.3 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3766, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002672/0.3768, allocations: 81.59 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3769, allocations: 55.41 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.3773, allocations: 117.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.3773, allocations: 33.69 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.3774, allocations: 92.05 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3775, allocations: 11.89 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3776, allocations: 33.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002726/0.3779, allocations: 322.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.378, allocations: 31.98 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.3781, allocations: 54.56 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3783, allocations: 100.1 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3783, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003473/0.3787, allocations: 163.2 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.3787, allocations: 41.69 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3788, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3788, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.3789, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3789, allocations: 3.938 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3791, allocations: 28.03 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.3792, allocations: 7.984 kB / 1.093 GB, free: 12.37 MB / 0.8575 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 0.000252/0.3794, allocations: 125.7 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.3795, allocations: 7.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.3795, allocations: 7.906 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3795, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3795, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3795, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.3797, allocations: 181.5 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3797, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.3797, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3798, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3798, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3798, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3798, allocations: 64 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.3799, allocations: 97.05 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.38, allocations: 84.95 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.38, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.3801, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.3801, allocations: 7.984 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3801, allocations: 3.938 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.3802, allocations: 99.7 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3802, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000213/0.3804, allocations: 16 kB / 1.093 GB, free: 11.63 MB / 0.8575 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.0003698/0.3808, allocations: 99.78 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.381, allocations: 139.4 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3811, allocations: 0 / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.994e-05/0.3811, allocations: 19.92 kB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.3813, allocations: 25.56 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.3818, allocations: 141.9 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.3822, allocations: 0.6925 MB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.3822, allocations: 7.938 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.3822, allocations: 7.438 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3822, allocations: 3.938 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.005032/0.3873, allocations: 1.342 MB / 1.096 GB, free: 9.109 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches