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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008457/0.008457, allocations: 100.1 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.00178/0.00178, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7347 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002559, allocations: 71.89 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001984/1.072, allocations: 0.7246 MB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001556/1.074, allocations: 1.135 MB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/1.074, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/1.074, allocations: 3.938 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/1.074, allocations: 11.92 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/1.075, allocations: 134.6 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/1.075, allocations: 131.7 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/1.075, allocations: 19.97 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.359e-05/1.075, allocations: 47.91 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/1.075, allocations: 39.89 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/1.075, allocations: 12 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/1.076, allocations: 23.98 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/1.076, allocations: 15.92 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/1.076, allocations: 47.78 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/1.076, allocations: 131.7 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.076, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/1.076, allocations: 4 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.172e-06/1.076, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 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.0005703/1.077, allocations: 390.7 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.077, allocations: 8.031 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/1.077, allocations: 4.938 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/1.077, allocations: 184.2 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/1.077, allocations: 384 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/1.077, allocations: 8.375 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/1.077, allocations: 42.25 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/1.077, allocations: 4.188 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/1.077, allocations: 15.86 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/1.077, allocations: 3.938 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/1.077, allocations: 12 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/1.078, allocations: 328.7 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/1.078, allocations: 30.52 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/1.078, allocations: 12.91 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/1.078, allocations: 4 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/1.078, allocations: 67.33 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/1.078, allocations: 0 / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002038/1.078, allocations: 69.69 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/1.078, allocations: 55.41 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/1.078, allocations: 133.7 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/1.078, allocations: 29.7 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/1.078, allocations: 96.08 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/1.078, allocations: 7.891 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/1.078, allocations: 37.69 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.078, allocations: 310.8 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/1.079, allocations: 39.98 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/1.079, allocations: 54.55 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/1.079, allocations: 92.22 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.079, allocations: 3.938 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002682/1.079, allocations: 171.2 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/1.079, allocations: 29.7 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/1.079, allocations: 4 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.079, allocations: 0 / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/1.079, allocations: 8 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.079, allocations: 0 / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/1.079, allocations: 35.95 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/1.079, allocations: 4 kB / 1.212 GB, free: 8.641 MB / 0.9356 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.0001122/1.08, allocations: 121.8 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/1.08, allocations: 3.906 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/1.08, allocations: 8.141 kB / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.08, allocations: 3.984 kB / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.08, allocations: 7.922 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.08, allocations: 4 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/1.08, allocations: 181.7 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.08, allocations: 0 / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/1.08, allocations: 0 / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.08, allocations: 0 / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/1.08, allocations: 7.984 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.08, allocations: 3.938 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.08, allocations: 3.938 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/1.08, allocations: 89.06 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/1.08, allocations: 85.02 kB / 1.213 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/1.08, allocations: 3.984 kB / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/1.08, allocations: 0 / 1.213 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/1.08, allocations: 4 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/1.08, allocations: 0 / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.241e-05/1.08, allocations: 99.27 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.08, allocations: 0 / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002212/1.08, allocations: 20 kB / 1.213 GB, free: 7.898 MB / 0.9356 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.0001933/1.081, allocations: 111.2 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002407/1.081, allocations: 135.3 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.081, allocations: 0 / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/1.081, allocations: 12 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.081, allocations: 19.92 kB / 1.213 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/1.082, allocations: 150.1 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/1.082, allocations: 0.6807 MB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.529e-05/1.082, allocations: 7.984 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/1.082, allocations: 11.44 kB / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/1.082, allocations: 0 / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of Templates: time 0.00378/1.086, allocations: 1.354 MB / 1.215 GB, free: 5.371 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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