Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001533/0.001533, allocations: 111.4 kB / 16.46 MB, free: 6.035 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.001492/0.001492, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.377/1.377, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 68.67 kB / 1.134 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2882, allocations: 173.9 MB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002621/0.2908, allocations: 1.479 MB / 1.305 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000699/0.2915, allocations: 454.8 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.2916, allocations: 0 / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.2916, allocations: 3.938 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.2917, allocations: 7.938 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.2918, allocations: 23.84 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.381e-05/0.2919, allocations: 47.91 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.292, allocations: 15.98 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.292, allocations: 23.92 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.2921, allocations: 19.92 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2921, allocations: 4 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.2921, allocations: 4 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.2921, allocations: 15.92 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.2922, allocations: 27.84 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.2923, allocations: 44.11 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2923, allocations: 3.938 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2923, allocations: 0 / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2923, allocations: 0 / 1.306 GB, free: 15.4 MB / 1.014 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.0004968/0.2928, allocations: 363.3 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2928, allocations: 12.62 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.2928, allocations: 30.75 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.2929, allocations: 8.891 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.293, allocations: 172.4 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.293, allocations: 4.312 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.293, allocations: 8.312 kB / 1.307 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.2931, allocations: 61.8 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2932, allocations: 4 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2932, allocations: 4 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.2932, allocations: 0 / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.2932, allocations: 23.98 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.2937, allocations: 304.7 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.2938, allocations: 50.56 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.2938, allocations: 24.94 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.2938, allocations: 4 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.294, allocations: 71.42 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.294, allocations: 0 / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0002092/0.2942, allocations: 101.6 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2943, allocations: 51.41 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.2943, allocations: 109.8 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.2944, allocations: 29.7 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.2944, allocations: 92.08 kB / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2944, allocations: 19.84 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.2945, allocations: 29.7 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2946, allocations: 318.8 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.2946, allocations: 19.98 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.2947, allocations: 51.73 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.255e-05/0.2948, allocations: 71.55 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2948, allocations: 0 / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001405/0.2949, allocations: 97.5 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2949, allocations: 11.94 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2949, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.295, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.295, allocations: 12.03 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.295, allocations: 4 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.2951, allocations: 11.98 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2951, allocations: 7.938 kB / 1.308 GB, free: 13 MB / 1.014 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.335e-05/0.2952, allocations: 121.8 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.2952, allocations: 3.953 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.2952, allocations: 15.95 kB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2952, allocations: 0 / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2953, allocations: 4 kB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2953, allocations: 0 / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.2957, allocations: 362.3 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2957, allocations: 4 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.2957, allocations: 0 / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2957, allocations: 4 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2957, allocations: 4 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2957, allocations: 3.938 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2957, allocations: 3.984 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.2959, allocations: 179.5 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.2959, allocations: 85.06 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2959, allocations: 3.984 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.296, allocations: 12 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.296, allocations: 11.98 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.296, allocations: 0 / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.2961, allocations: 83.31 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2961, allocations: 4 kB / 1.309 GB, free: 12.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002299/0.2963, allocations: 20.17 kB / 1.309 GB, free: 11.99 MB / 1.014 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.0004535/0.2968, allocations: 0.7086 MB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.2969, allocations: 59.84 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2969, allocations: 0 / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.297, allocations: 31.98 kB / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2972, allocations: 13.34 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.2986, allocations: 1.385 MB / 1.311 GB, free: 9.672 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.2988, allocations: 0.6846 MB / 1.312 GB, free: 8.961 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.2989, allocations: 4 kB / 1.312 GB, free: 8.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.2989, allocations: 19.42 kB / 1.312 GB, free: 8.938 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.2989, allocations: 0 / 1.312 GB, free: 8.938 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.3211, allocations: 1.766 MB / 1.314 GB, free: 7.266 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.8, allocations: 18.28 kB / 1.314 GB, free: 7.25 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.975976978894323]