Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 161.3 kB / 23.54 MB, free: 0.8672 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.97/2.97, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.721e-05/3.907e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002013/0.002052, allocations: 0.7212 MB / 0.8116 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.003963, allocations: 1.148 MB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.004024, allocations: 6.219 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.004063, allocations: 3.938 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.004167, allocations: 15.86 kB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.004696, allocations: 127.6 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.004957, allocations: 125 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.005052, allocations: 7.984 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.005214, allocations: 67.89 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.005335, allocations: 32.55 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.005372, allocations: 12 kB / 0.8131 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.005465, allocations: 33.25 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.00549, allocations: 8 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.005568, allocations: 31.92 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.005853, allocations: 151.5 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005855, allocations: 5.594 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005856, allocations: 0 / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.00586, allocations: 0 / 0.8133 GB, free: 15.61 MB / 0.7761 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.0006258/0.006486, allocations: 319.9 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.006532, allocations: 9.906 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.006608, allocations: 4.938 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.006787, allocations: 129.7 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.006815, allocations: 8.359 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.006839, allocations: 4.375 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.00696, allocations: 46.97 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.006968, allocations: 192 / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.006977, allocations: 0.9062 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.006981, allocations: 1.094 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.00704, allocations: 19.88 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.007522, allocations: 257 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.007606, allocations: 27.92 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.007641, allocations: 16.91 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.007656, allocations: 0 / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.007857, allocations: 75.8 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 2.565e-06/0.007859, allocations: 1.375 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002708/0.00813, allocations: 73.64 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.008186, allocations: 55.41 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.008346, allocations: 125.8 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.008382, allocations: 30.86 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.008468, allocations: 88.14 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.008488, allocations: 7.953 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.008575, allocations: 35 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.008764, allocations: 318.8 kB / 0.8149 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.008899, allocations: 73.62 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.009038, allocations: 84.25 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.009199, allocations: 93.95 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009201, allocations: 0 / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003921/0.009593, allocations: 202.2 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.00965, allocations: 41.62 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.009663, allocations: 12 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.009684, allocations: 0.8438 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.00974, allocations: 0 / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.009751, allocations: 5.25 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.00997, allocations: 27.91 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.009994, allocations: 9.266 kB / 0.8154 GB, free: 13.22 MB / 0.7761 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.0001251/0.01012, allocations: 117.8 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.01014, allocations: 13.67 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.01017, allocations: 8 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01017, allocations: 0 / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01018, allocations: 0 / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01018, allocations: 3.984 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.01032, allocations: 123.9 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01033, allocations: 0 / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.01034, allocations: 0 / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01035, allocations: 0 / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01036, allocations: 7.938 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01036, allocations: 0 / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01036, allocations: 3.938 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.01054, allocations: 93.56 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.01056, allocations: 7.953 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01058, allocations: 4.469 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.0106, allocations: 1.938 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01064, allocations: 3.984 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.01065, allocations: 4 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001013/0.01075, allocations: 99.7 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01075, allocations: 3.938 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000242/0.011, allocations: 16.88 kB / 0.8159 GB, free: 12.67 MB / 0.7761 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.0002017/0.0112, allocations: 99.91 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.01152, allocations: 157.9 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01152, allocations: 4 kB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.01157, allocations: 15.06 kB / 0.8161 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.01183, allocations: 16.56 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.01225, allocations: 156.3 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.122e-05/0.01233, allocations: 69.23 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.01236, allocations: 10.45 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.0124, allocations: 12.5 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.0124, allocations: 0 / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.005348/0.01774, allocations: 1.493 MB / 0.8178 GB, free: 10.64 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 8.049704076955095]