Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.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.001471/0.001471, allocations: 110 kB / 18.94 MB, free: 2.789 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.001792/0.001792, allocations: 192.4 kB / 22.23 MB, free: 5.234 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.6/1.6, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.88 kB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9351, allocations: 160.8 MB / 1.218 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003291/0.9384, allocations: 1.492 MB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009324/0.9393, allocations: 450.7 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.9394, allocations: 1.125 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.9394, allocations: 3.938 kB / 1.22 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.429e-05/0.9395, allocations: 13.11 kB / 1.22 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.9397, allocations: 24.47 kB / 1.22 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.9398, allocations: 47.97 kB / 1.22 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.9399, allocations: 8.562 kB / 1.22 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.9399, allocations: 23.48 kB / 1.22 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.94, allocations: 21.42 kB / 1.22 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.94, allocations: 4.344 kB / 1.22 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.9401, allocations: 8.875 kB / 1.22 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.9401, allocations: 17.25 kB / 1.22 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.9401, allocations: 26.92 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.9403, allocations: 38.77 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9403, allocations: 3.938 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9403, allocations: 3.938 kB / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9403, allocations: 0 / 1.221 GB, free: 1.918 MB / 0.92 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.0006111/0.9409, allocations: 368.2 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.941, allocations: 9.688 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.941, allocations: 3.656 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.9412, allocations: 175.1 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.9412, allocations: 6.938 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.9412, allocations: 4.031 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.9413, allocations: 59.94 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.9413, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.9413, allocations: 5.297 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9413, allocations: 5.312 kB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.9414, allocations: 24.8 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.942, allocations: 294.1 kB / 1.221 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.9421, allocations: 54.69 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.9421, allocations: 23.69 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.9422, allocations: 4 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.9423, allocations: 75.69 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.9423, allocations: 5.094 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002524/0.9426, allocations: 96.61 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.9426, allocations: 58.31 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.9427, allocations: 108.9 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.9428, allocations: 30.83 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.9428, allocations: 85.33 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.9429, allocations: 27.27 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.9429, allocations: 31 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.9431, allocations: 319.8 kB / 1.222 GB, free: 84 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.9431, allocations: 17.5 kB / 1.222 GB, free: 76 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.9432, allocations: 45.3 kB / 1.222 GB, free: 32 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.9433, allocations: 79.27 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9433, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001486/0.9434, allocations: 94.75 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9435, allocations: 5.219 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.9435, allocations: 0.875 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.9435, allocations: 2.188 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.9436, allocations: 12.22 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.9436, allocations: 0.9688 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.9436, allocations: 16.2 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.9436, allocations: 8.062 kB / 1.223 GB, free: 15.88 MB / 0.9356 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 0.0001161/0.9438, allocations: 125.9 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.9438, allocations: 3.031 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.9438, allocations: 9.156 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9438, allocations: 1.062 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9438, allocations: 3.984 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9438, allocations: 1.438 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.9443, allocations: 363.3 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9443, allocations: 3.828 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.9443, allocations: 2.844 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9443, allocations: 0.9062 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.9443, allocations: 1.125 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.9443, allocations: 5.031 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9443, allocations: 3.984 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.9445, allocations: 187.7 kB / 1.223 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.9446, allocations: 79.05 kB / 1.223 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.9446, allocations: 5.438 kB / 1.223 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.9447, allocations: 18.61 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.9447, allocations: 8.078 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.9447, allocations: 2.375 kB / 1.223 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.9448, allocations: 86.77 kB / 1.223 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9448, allocations: 0 / 1.223 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002334/0.945, allocations: 15.31 kB / 1.223 GB, free: 15 MB / 0.9356 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 0.0001358/0.9452, allocations: 98.09 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.9453, allocations: 59.53 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9453, allocations: 0 / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.9454, allocations: 23.36 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.9456, allocations: 5.344 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.9461, allocations: 185.1 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.9465, allocations: 0.6831 MB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.9465, allocations: 8.047 kB / 1.225 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.9465, allocations: 15.61 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.9465, allocations: 0 / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of Templates: time 0.003624/0.9501, allocations: 0.8158 MB / 1.225 GB, free: 13.59 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.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: 9.137210736051202]