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.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.00118/0.00118, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001752/0.001752, allocations: 169 kB / 23.02 MB, free: 1.555 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 0.9992/0.9992, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.151/2.151, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.634e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.007649/0.007675, allocations: 0.7417 MB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.008836, allocations: 1.18 MB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.008876, allocations: 3.938 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.008905, allocations: 3.938 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.008982, allocations: 19.86 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.009361, allocations: 124.5 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.009502, allocations: 128.9 kB / 0.8804 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.009588, allocations: 15.94 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/0.009672, allocations: 63.89 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.009753, allocations: 37 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.009775, allocations: 12 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.488e-05/0.00983, allocations: 24 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.00985, allocations: 9.016 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.009897, allocations: 35.92 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.01003, allocations: 95.81 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01004, allocations: 1.031 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.01004, allocations: 0 / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.002016/0.01205, allocations: 0 / 0.8806 GB, free: 3.801 MB / 0.8386 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.0004994/0.01255, allocations: 426.7 kB / 0.881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.01259, allocations: 8.625 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.01265, allocations: 16.83 kB / 0.8811 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.01276, allocations: 117.2 kB / 0.8812 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.01279, allocations: 4.375 kB / 0.8812 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.01281, allocations: 9.359 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.427e-05/0.0129, allocations: 58.94 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.01291, allocations: 0.9688 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.01292, allocations: 384 / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.01293, allocations: 1.562 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.883e-05/0.01296, allocations: 7.938 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.01336, allocations: 307.7 kB / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.01342, allocations: 32.59 kB / 0.8816 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.01344, allocations: 7.688 kB / 0.8816 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.01345, allocations: 8.047 kB / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.01356, allocations: 68.98 kB / 0.8817 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.01356, allocations: 0.8438 kB / 0.8817 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001952/0.01375, allocations: 65.58 kB / 0.8817 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.01379, allocations: 52.28 kB / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.0139, allocations: 181.9 kB / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.01392, allocations: 37.36 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.014, allocations: 142.8 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.01401, allocations: 7.938 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.01407, allocations: 35.36 kB / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.0142, allocations: 0.4884 MB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/0.01429, allocations: 57.67 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.01437, allocations: 84.75 kB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.734e-05/0.01447, allocations: 88.69 kB / 0.8829 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01447, allocations: 0.625 kB / 0.8829 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001834/0.01466, allocations: 197 kB / 0.8831 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.01469, allocations: 37.64 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01469, allocations: 4 kB / 0.8831 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01471, allocations: 3.938 kB / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/0.01475, allocations: 0 / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01476, allocations: 7.938 kB / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-05/0.01486, allocations: 19.97 kB / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.01487, allocations: 4 kB / 0.8831 GB, free: 0.9844 MB / 0.8386 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 7.448e-05/0.01494, allocations: 164.6 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.01495, allocations: 15.89 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.01498, allocations: 11.98 kB / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.01498, allocations: 0 / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01498, allocations: 0 / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01499, allocations: 0 / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.118e-05/0.01506, allocations: 124.6 kB / 0.8834 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01506, allocations: 0 / 0.8834 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-06/0.01507, allocations: 4 kB / 0.8834 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01507, allocations: 3.984 kB / 0.8834 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.01508, allocations: 3.938 kB / 0.8834 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.01508, allocations: 4 kB / 0.8834 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01508, allocations: 4 kB / 0.8834 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.771e-05/0.01517, allocations: 92.61 kB / 0.8835 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.01518, allocations: 11.98 kB / 0.8835 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.01519, allocations: 7.922 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.0152, allocations: 0 / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.01523, allocations: 4 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.01523, allocations: 0 / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.11e-05/0.01528, allocations: 143.5 kB / 0.8837 GB, free: 340 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.01528, allocations: 0 / 0.8837 GB, free: 340 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001434/0.01543, allocations: 20 kB / 0.8837 GB, free: 320 kB / 0.8386 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.0001158/0.01554, allocations: 107.2 kB / 0.8838 GB, free: 200 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.01571, allocations: 148.7 kB / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01571, allocations: 0 / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.166e-05/0.01574, allocations: 15.69 kB / 0.884 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.01593, allocations: 20.03 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.01619, allocations: 146 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.938e-05/0.01622, allocations: 59.36 kB / 0.8842 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.01623, allocations: 7.984 kB / 0.8842 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.01625, allocations: 16.44 kB / 0.8842 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of SimCode: time 7.22e-07/0.01625, allocations: 0 / 0.8842 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.003033/0.01929, allocations: 1.495 MB / 0.8857 GB, free: 14.26 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.574120310135186]