Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.916/2.916, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254/1.256, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002836/1.258, allocations: 0.9812 MB / 1.273 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002293/1.261, allocations: 1.451 MB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/1.261, allocations: 0.875 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/1.261, allocations: 16.72 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00017/1.261, allocations: 55.98 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/1.262, allocations: 445.1 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006839/1.263, allocations: 0.4918 MB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/1.263, allocations: 33.62 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/1.263, allocations: 178 kB / 1.276 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/1.263, allocations: 163.5 kB / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/1.264, allocations: 49.06 kB / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/1.264, allocations: 74.72 kB / 1.276 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/1.264, allocations: 38.09 kB / 1.276 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/1.264, allocations: 166.7 kB / 1.276 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006461/1.265, allocations: 0.4891 MB / 1.276 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.265, allocations: 0 / 1.276 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/1.265, allocations: 0.875 kB / 1.276 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.265, allocations: 0 / 1.276 GB, free: 5.215 MB / 0.9981 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.0008797/1.266, allocations: 0.6383 MB / 1.277 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.266, allocations: 9.281 kB / 1.277 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/1.266, allocations: 31.83 kB / 1.277 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/1.266, allocations: 230.3 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/1.266, allocations: 11.34 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/1.266, allocations: 22.41 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/1.266, allocations: 122.1 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.266, allocations: 1.125 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/1.266, allocations: 6.344 kB / 1.278 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/1.266, allocations: 2.344 kB / 1.278 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/1.267, allocations: 60.47 kB / 1.278 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/1.268, allocations: 0.8658 MB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/1.268, allocations: 121.6 kB / 1.279 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/1.268, allocations: 49.33 kB / 1.279 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/1.268, allocations: 3.797 kB / 1.279 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/1.268, allocations: 177.2 kB / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/1.268, allocations: 0 / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0006336/1.269, allocations: 227 kB / 1.279 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/1.269, allocations: 145 kB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/1.269, allocations: 236.2 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/1.269, allocations: 38.28 kB / 1.279 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/1.27, allocations: 127.9 kB / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/1.27, allocations: 31.41 kB / 1.28 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/1.27, allocations: 93.05 kB / 1.28 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.27, allocations: 334.3 kB / 1.28 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/1.27, allocations: 146.1 kB / 1.28 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/1.271, allocations: 227.8 kB / 1.28 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/1.271, allocations: 367.8 kB / 1.281 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.271, allocations: 1.359 kB / 1.281 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001192/1.272, allocations: 0.5597 MB / 1.281 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.273, allocations: 141.3 kB / 1.281 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.273, allocations: 7.75 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/1.273, allocations: 3.75 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/1.273, allocations: 18.56 kB / 1.281 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.273, allocations: 4.531 kB / 1.281 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/1.273, allocations: 120.7 kB / 1.281 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/1.274, allocations: 29.2 kB / 1.281 GB, free: 1.312 MB / 0.9981 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.0001625/1.274, allocations: 155.5 kB / 1.282 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/1.274, allocations: 23.25 kB / 1.282 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/1.274, allocations: 21.8 kB / 1.282 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.274, allocations: 2.812 kB / 1.282 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.274, allocations: 0.9375 kB / 1.282 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.274, allocations: 7 kB / 1.282 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/1.274, allocations: 261 kB / 1.282 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.274, allocations: 0.6562 kB / 1.282 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/1.274, allocations: 15.66 kB / 1.282 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.274, allocations: 0 / 1.282 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/1.274, allocations: 7.656 kB / 1.282 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/1.274, allocations: 2.453 kB / 1.282 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.274, allocations: 2.781 kB / 1.282 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/1.274, allocations: 218.5 kB / 1.282 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/1.274, allocations: 97.28 kB / 1.282 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/1.275, allocations: 10.27 kB / 1.282 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/1.275, allocations: 4.703 kB / 1.282 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/1.275, allocations: 18.95 kB / 1.282 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/1.275, allocations: 7.141 kB / 1.282 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001454/1.275, allocations: 169.6 kB / 1.282 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.275, allocations: 0 / 1.282 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003352/1.275, allocations: 72.7 kB / 1.283 GB, free: 0.5117 MB / 0.9981 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.0001902/1.275, allocations: 118.1 kB / 1.283 GB, free: 424 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006837/1.276, allocations: 484.1 kB / 1.283 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.276, allocations: 0 / 1.283 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/1.276, allocations: 55.52 kB / 1.283 GB, free: 48 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/1.277, allocations: 74.42 kB / 1.283 GB, free: 20 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/1.277, allocations: 365.5 kB / 1.284 GB, free: 15.76 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/1.278, allocations: 0.7301 MB / 1.284 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.682e-05/1.278, allocations: 18.42 kB / 1.284 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/1.278, allocations: 22.48 kB / 1.284 GB, free: 15.05 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/1.278, allocations: 9.5 kB / 1.284 GB, free: 15.04 MB / 1.014 GB Notification: Performance of Templates: time 0.01257/1.291, allocations: 4.597 MB / 1.289 GB, free: 14.7 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.274034180678427]