Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001472/0.001472, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00173/0.00173, allocations: 173 kB / 23.49 MB, free: 1.055 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.9557/0.9557, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.118/2.118, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.8781 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.922e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002689/0.002708, allocations: 1.54 MB / 0.8797 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008838/0.003592, allocations: 475.1 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.003646, allocations: 4.969 kB / 0.8801 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.00368, allocations: 3.938 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.003768, allocations: 8.953 kB / 0.8801 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.003945, allocations: 23.91 kB / 0.8801 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.004048, allocations: 51.84 kB / 0.8802 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004152, allocations: 9.062 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.004241, allocations: 35.95 kB / 0.8802 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.004309, allocations: 13.02 kB / 0.8802 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.004336, allocations: 4 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.004348, allocations: 4 kB / 0.8803 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.004375, allocations: 17.02 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.00442, allocations: 19.91 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.004531, allocations: 31.91 kB / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004533, allocations: 0.7188 kB / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004534, allocations: 0 / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004538, allocations: 3.438 kB / 0.8803 GB, free: 4.449 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000498/0.005036, allocations: 388.4 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.005077, allocations: 12.03 kB / 0.8807 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.005129, allocations: 8.891 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.005245, allocations: 112.6 kB / 0.8808 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.00526, allocations: 4.375 kB / 0.8808 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.005273, allocations: 4.375 kB / 0.8808 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.005388, allocations: 54.17 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.005396, allocations: 1.281 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.00541, allocations: 8.375 kB / 0.8809 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.00542, allocations: 3.938 kB / 0.8809 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.00548, allocations: 17.52 kB / 0.8809 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.005938, allocations: 287.6 kB / 0.8812 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.006048, allocations: 51.05 kB / 0.8812 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.006098, allocations: 32.22 kB / 0.8813 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.006108, allocations: 5.438 kB / 0.8813 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.006245, allocations: 73.08 kB / 0.8813 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.006247, allocations: 0 / 0.8813 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002454/0.006493, allocations: 98.66 kB / 0.8814 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.006537, allocations: 55.41 kB / 0.8815 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.00664, allocations: 165.9 kB / 0.8816 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.006656, allocations: 27.08 kB / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.006717, allocations: 138.8 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.006746, allocations: 23.83 kB / 0.8818 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.006795, allocations: 31.38 kB / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.00694, allocations: 0.4923 MB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.006977, allocations: 8 kB / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.007038, allocations: 54.67 kB / 0.8824 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.668e-05/0.007135, allocations: 70.67 kB / 0.8825 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007137, allocations: 3.938 kB / 0.8825 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001558/0.007293, allocations: 97.48 kB / 0.8826 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.007309, allocations: 4 kB / 0.8826 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007314, allocations: 4 kB / 0.8826 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.007327, allocations: 0 / 0.8826 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.007413, allocations: 16.03 kB / 0.8826 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.007422, allocations: 7.969 kB / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.007478, allocations: 11.95 kB / 0.8826 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.007489, allocations: 4 kB / 0.8826 GB, free: 1.879 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 9.178e-05/0.00758, allocations: 168.5 kB / 0.8828 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.007599, allocations: 7.938 kB / 0.8828 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.007628, allocations: 12.12 kB / 0.8828 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.00763, allocations: 0 / 0.8828 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.007635, allocations: 3.984 kB / 0.8828 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007639, allocations: 288 / 0.8828 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.008015, allocations: 345.3 kB / 0.8831 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008017, allocations: 0 / 0.8831 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.00805, allocations: 4 kB / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.008055, allocations: 3.984 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.008067, allocations: 8 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.008068, allocations: 0 / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008069, allocations: 0 / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.008252, allocations: 227.8 kB / 0.8834 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.008266, allocations: 7.953 kB / 0.8834 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.008283, allocations: 4 kB / 0.8834 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.00836, allocations: 11.98 kB / 0.8834 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.008405, allocations: 7.984 kB / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.008412, allocations: 0 / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.008463, allocations: 127.2 kB / 0.8835 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.008463, allocations: 0 / 0.8835 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002648/0.008728, allocations: 12 kB / 0.8835 GB, free: 0.875 MB / 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.555e-05/0.008824, allocations: 107.2 kB / 0.8836 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.00897, allocations: 47.61 kB / 0.8837 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008972, allocations: 0 / 0.8837 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.748e-05/0.009019, allocations: 39.67 kB / 0.8837 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.009212, allocations: 13.95 kB / 0.8837 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.009454, allocations: 154.2 kB / 0.8839 GB, free: 484 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.009487, allocations: 56.45 kB / 0.8839 GB, free: 408 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.009508, allocations: 7.984 kB / 0.8839 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.009534, allocations: 12.5 kB / 0.8839 GB, free: 388 kB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/0.009535, allocations: 0 / 0.8839 GB, free: 388 kB / 0.8386 GB Notification: Performance of Templates: time 0.002176/0.01171, allocations: 0.844 MB / 0.8848 GB, free: 15.55 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.333637714153156]