Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 199 kB / 16.54 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.476/2.476, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 61.44 kB / 0.9086 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2284, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002364/0.2308, allocations: 1.463 MB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005857/0.2314, allocations: 444.8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.2314, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.2315, allocations: 7.922 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.2315, allocations: 7.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.2317, allocations: 23.92 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.2317, allocations: 55.89 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.791e-05/0.2318, allocations: 11.98 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.2319, allocations: 19.88 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.2319, allocations: 27.84 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.232, allocations: 4 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.232, allocations: 4 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.232, allocations: 8 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.2321, allocations: 31.86 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.615e-05/0.2321, allocations: 36.16 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2321, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2321, allocations: 4 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2322, allocations: 0 / 1.066 GB, free: 12.03 MB / 0.8262 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.0004448/0.2326, allocations: 359.4 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.2326, allocations: 8.031 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.2327, allocations: 46.72 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.2327, allocations: 8.844 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2328, allocations: 172.3 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.2329, allocations: 4.375 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2329, allocations: 8.375 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.233, allocations: 61.73 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.233, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.233, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.233, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.547e-05/0.2331, allocations: 27.92 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.2335, allocations: 304.7 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.431e-05/0.2336, allocations: 50.66 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.2336, allocations: 24.89 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.2337, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.2338, allocations: 79.38 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2338, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0001945/0.234, allocations: 101.6 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.2341, allocations: 55.39 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.2341, allocations: 113.7 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2342, allocations: 29.7 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.2342, allocations: 84.14 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2342, allocations: 19.66 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.2343, allocations: 37.7 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2344, allocations: 322.8 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.2344, allocations: 15.94 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.2345, allocations: 47.42 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-05/0.2346, allocations: 71.36 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2346, allocations: 4.375 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001277/0.2347, allocations: 89.89 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.2347, allocations: 4 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2348, allocations: 4 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2348, allocations: 7.922 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.2348, allocations: 8 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2348, allocations: 3.938 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.2349, allocations: 19.89 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2349, allocations: 3.938 kB / 1.068 GB, free: 9.617 MB / 0.8262 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 8.034e-05/0.235, allocations: 124.5 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.235, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.2351, allocations: 7.969 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2351, allocations: 4 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.2351, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2351, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.2355, allocations: 358.3 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2355, allocations: 7.984 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.2355, allocations: 7.938 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2355, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2355, allocations: 4 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2355, allocations: 7.875 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2355, allocations: 0 / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.2357, allocations: 179.5 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.2357, allocations: 84.95 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2358, allocations: 12 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.2358, allocations: 7.922 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.2359, allocations: 8 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.2359, allocations: 4.047 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.2359, allocations: 83.28 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2359, allocations: 0 / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002115/0.2361, allocations: 16 kB / 1.069 GB, free: 8.621 MB / 0.8262 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.0004179/0.2366, allocations: 0.7164 MB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.2367, allocations: 63.91 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2367, allocations: 3.938 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.2368, allocations: 20 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.237, allocations: 19.91 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.2382, allocations: 1.365 MB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.2384, allocations: 0.6885 MB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.2385, allocations: 4 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.2385, allocations: 23.42 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2385, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.678/2.916, allocations: 1.721 MB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/15.87, allocations: 10.03 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches