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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008586/0.008586, allocations: 100 kB / 15.73 MB, free: 6.008 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.001694/0.001694, allocations: 192.9 kB / 16.67 MB, free: 5.926 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.142, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002353/1.144, allocations: 0.7203 MB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001748/1.146, allocations: 1.127 MB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/1.146, allocations: 1.25 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/1.146, allocations: 4.594 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/1.146, allocations: 16.94 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/1.147, allocations: 132.5 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/1.147, allocations: 132.6 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/1.147, allocations: 11.34 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/1.147, allocations: 48.92 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/1.147, allocations: 42.12 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/1.147, allocations: 12 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/1.148, allocations: 31.22 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/1.148, allocations: 15.22 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/1.148, allocations: 44.84 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/1.148, allocations: 130.8 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.148, allocations: 1.656 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/1.148, allocations: 0 / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.148, allocations: 0.75 kB / 1.09 GB, free: 3.922 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.0005888/1.149, allocations: 395 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.149, allocations: 8.906 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/1.149, allocations: 10.17 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/1.149, allocations: 180 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/1.149, allocations: 3.484 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/1.149, allocations: 5.25 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/1.149, allocations: 46.91 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/1.149, allocations: 192 / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.149, allocations: 4.594 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.149, allocations: 1.312 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/1.149, allocations: 16.5 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/1.15, allocations: 326.1 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.781e-05/1.15, allocations: 39.09 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/1.15, allocations: 10.12 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/1.15, allocations: 0 / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/1.15, allocations: 69.83 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/1.15, allocations: 0 / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002516/1.15, allocations: 79.17 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.15, allocations: 56.81 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/1.15, allocations: 130 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/1.15, allocations: 31.17 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/1.151, allocations: 94.41 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/1.151, allocations: 9.781 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/1.151, allocations: 30.19 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/1.151, allocations: 318.2 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/1.151, allocations: 42.73 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/1.151, allocations: 52.64 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/1.151, allocations: 95.78 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.151, allocations: 0.75 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003331/1.152, allocations: 161.3 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/1.152, allocations: 39.36 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.152, allocations: 1.578 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.152, allocations: 0.875 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/1.152, allocations: 3.672 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.152, allocations: 0.75 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/1.152, allocations: 41.06 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/1.152, allocations: 9.812 kB / 1.093 GB, free: 1.848 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 9.531e-05/1.152, allocations: 124.1 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/1.152, allocations: 3.656 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/1.152, allocations: 6.188 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.152, allocations: 0.9062 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.152, allocations: 0.7031 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.152, allocations: 0.8125 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/1.152, allocations: 177.6 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.152, allocations: 0.9062 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/1.152, allocations: 6.172 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.152, allocations: 0.6562 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/1.152, allocations: 5.547 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.152, allocations: 0.8125 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.152, allocations: 0 / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/1.152, allocations: 92.83 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/1.153, allocations: 84.36 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/1.153, allocations: 1.469 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/1.153, allocations: 0.7812 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/1.153, allocations: 3.578 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/1.153, allocations: 5.469 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.132e-05/1.153, allocations: 102.6 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.153, allocations: 0 / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002391/1.153, allocations: 17.77 kB / 1.093 GB, free: 1.234 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.0002208/1.153, allocations: 110.2 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002821/1.153, allocations: 130.8 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.153, allocations: 0 / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/1.154, allocations: 23.47 kB / 1.093 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/1.154, allocations: 23.91 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/1.154, allocations: 151.5 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/1.154, allocations: 0.6837 MB / 1.094 GB, free: 200 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.632e-05/1.154, allocations: 8.938 kB / 1.094 GB, free: 196 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/1.154, allocations: 15.92 kB / 1.094 GB, free: 184 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.154, allocations: 0 / 1.094 GB, free: 184 kB / 0.8575 GB Notification: Performance of Templates: time 0.005322/1.16, allocations: 1.345 MB / 1.096 GB, free: 44 kB / 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