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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 189.5 kB / 16.25 MB, free: 6.598 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.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 64.69 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2337, allocations: 157.4 MB / 1.052 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002279/0.236, allocations: 1.529 MB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005536/0.2366, allocations: 450.8 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.2366, allocations: 4 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.2366, allocations: 3.938 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.2367, allocations: 3.984 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.2368, allocations: 19.92 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.2369, allocations: 51.91 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.237, allocations: 16 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.2371, allocations: 27.91 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.2371, allocations: 19.86 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2371, allocations: 4 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.2371, allocations: 7.938 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.2372, allocations: 11.98 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.2372, allocations: 23.86 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.569e-05/0.2373, allocations: 40.16 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2373, allocations: 0 / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2373, allocations: 0 / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.2373, allocations: 4 kB / 1.055 GB, free: 6.473 MB / 0.8106 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.0004219/0.2377, allocations: 359.4 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2378, allocations: 8.625 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.715e-05/0.2378, allocations: 34.75 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.2378, allocations: 4.938 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2379, allocations: 176.2 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.238, allocations: 4.375 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.238, allocations: 4.375 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.2381, allocations: 69.73 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.2381, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.2381, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2381, allocations: 4 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.2382, allocations: 27.98 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.2386, allocations: 292.8 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.2387, allocations: 58.56 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.2387, allocations: 32.88 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.2388, allocations: 0 / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.2389, allocations: 75.33 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.2389, allocations: 0 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0001839/0.2391, allocations: 97.61 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.2391, allocations: 59.41 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.2392, allocations: 109.7 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2392, allocations: 33.7 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.2393, allocations: 92.06 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2393, allocations: 23.64 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.2393, allocations: 29.7 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.2394, allocations: 322.8 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.2395, allocations: 15.98 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.2395, allocations: 51.36 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.48e-05/0.2396, allocations: 63.38 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2396, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001236/0.2397, allocations: 97.55 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2398, allocations: 4 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2398, allocations: 4.031 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2398, allocations: 4 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.2399, allocations: 8 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2399, allocations: 3.984 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.066e-05/0.2399, allocations: 11.91 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2399, allocations: 7.938 kB / 1.057 GB, free: 4.07 MB / 0.8106 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 6.619e-05/0.24, allocations: 117.8 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.24, allocations: 4 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.2401, allocations: 15.95 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2401, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2401, allocations: 384 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2401, allocations: 4 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.2404, allocations: 358.4 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2404, allocations: 4 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.2405, allocations: 8 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2405, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2405, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2405, allocations: 11.92 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2405, allocations: 4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2407, allocations: 179.4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.2407, allocations: 84.95 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.2407, allocations: 4.266 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.2408, allocations: 7.938 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.2408, allocations: 11.98 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2409, allocations: 8 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.2409, allocations: 87.2 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2409, allocations: 0 / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002248/0.2411, allocations: 19.98 kB / 1.058 GB, free: 3.059 MB / 0.8106 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.0003524/0.2415, allocations: 0.7085 MB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.2416, allocations: 60.2 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2416, allocations: 0 / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.2417, allocations: 35.86 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.2419, allocations: 14.75 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.243, allocations: 1.379 MB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.2432, allocations: 0.6897 MB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.2433, allocations: 4 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.2433, allocations: 19.38 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.2433, allocations: 4 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/1.302, allocations: 1.597 MB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/1.302, allocations: 198.5 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.836, allocations: 4 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches