Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009624/0.009624, allocations: 101.4 kB / 15.73 MB, free: 5.551 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.002138/0.002139, allocations: 195.1 kB / 16.67 MB, free: 5.48 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.618/1.618, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.84 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.247, allocations: 151.6 MB / 1.167 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003055/1.25, allocations: 0.9767 MB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002405/1.253, allocations: 1.432 MB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/1.253, allocations: 0 / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.899e-05/1.253, allocations: 11.81 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002862/1.253, allocations: 59.5 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/1.255, allocations: 450.5 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008125/1.256, allocations: 0.5031 MB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/1.256, allocations: 49.59 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/1.256, allocations: 183.6 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/1.257, allocations: 159.5 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/1.257, allocations: 52 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/1.257, allocations: 63.98 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/1.257, allocations: 39.8 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/1.257, allocations: 167.4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000982/1.258, allocations: 499.4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/1.258, allocations: 4 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.322e-06/1.258, allocations: 3.984 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.125e-05/1.258, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00171/1.26, allocations: 0.6377 MB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 8.254e-05/1.26, allocations: 8.031 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/1.26, allocations: 32.8 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/1.261, allocations: 223.1 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/1.261, allocations: 20.31 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/1.261, allocations: 24.38 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/1.261, allocations: 117.6 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.261, allocations: 4.172 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/1.261, allocations: 11.92 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.261, allocations: 7.938 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/1.261, allocations: 51.92 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.263, allocations: 0.8757 MB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/1.263, allocations: 122.4 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/1.263, allocations: 51.48 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/1.263, allocations: 7.938 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004989/1.264, allocations: 184 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/1.264, allocations: 0 / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0006113/1.264, allocations: 221.4 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.264, allocations: 132.5 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/1.265, allocations: 244.9 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/1.265, allocations: 37.7 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/1.265, allocations: 136.5 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/1.265, allocations: 23.81 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/1.265, allocations: 97.64 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002143/1.265, allocations: 330.8 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/1.266, allocations: 144.2 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/1.266, allocations: 226.6 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/1.267, allocations: 368.9 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.267, allocations: 0 / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001103/1.268, allocations: 0.5546 MB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/1.268, allocations: 138.8 kB / 1.176 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.268, allocations: 4 kB / 1.176 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/1.268, allocations: 4 kB / 1.176 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/1.268, allocations: 15.94 kB / 1.176 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/1.268, allocations: 4 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/1.269, allocations: 112 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/1.269, allocations: 31.97 kB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002735/1.269, allocations: 158.2 kB / 1.176 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/1.27, allocations: 19.86 kB / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.753e-05/1.27, allocations: 26.17 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.27, allocations: 0 / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.27, allocations: 4 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.27, allocations: 3.938 kB / 1.176 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/1.27, allocations: 265.5 kB / 1.177 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.27, allocations: 0 / 1.177 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/1.27, allocations: 11.94 kB / 1.177 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.27, allocations: 0 / 1.177 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.27, allocations: 4 kB / 1.177 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.994e-06/1.27, allocations: 11.98 kB / 1.177 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.27, allocations: 0 / 1.177 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/1.271, allocations: 218.6 kB / 1.177 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/1.271, allocations: 112.9 kB / 1.177 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/1.271, allocations: 4 kB / 1.177 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/1.271, allocations: 8 kB / 1.177 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/1.271, allocations: 23.91 kB / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/1.271, allocations: 4 kB / 1.177 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000225/1.271, allocations: 172.5 kB / 1.177 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.271, allocations: 0 / 1.177 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004262/1.272, allocations: 67.94 kB / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00029/1.272, allocations: 111.2 kB / 1.177 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008466/1.273, allocations: 0.5247 MB / 1.178 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.273, allocations: 0 / 1.178 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/1.273, allocations: 67.92 kB / 1.178 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/1.274, allocations: 60.86 kB / 1.178 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/1.274, allocations: 346.4 kB / 1.178 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/1.275, allocations: 0.7359 MB / 1.179 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.775e-05/1.275, allocations: 17.55 kB / 1.179 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/1.275, allocations: 19.44 kB / 1.179 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of SimCode: time 1.8e-07/1.275, allocations: 0 / 1.179 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of Templates: time 0.01142/1.286, allocations: 4.586 MB / 1.184 GB, free: 2.008 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches