Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_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.00086/0.00086, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004963/0.004963, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.5421, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001173/0.5434, allocations: 1.18 MB / 0.9563 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004714/0.5438, allocations: 431.8 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.5439, allocations: 1.281 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.5439, allocations: 3.938 kB / 0.9567 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.544, allocations: 17.84 kB / 0.9568 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.5441, allocations: 15.08 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.5442, allocations: 48.86 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.5443, allocations: 13.17 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.5443, allocations: 19.06 kB / 0.9568 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.5444, allocations: 24.58 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.5444, allocations: 2.031 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.5444, allocations: 1.938 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.5444, allocations: 6.188 kB / 0.9569 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.5445, allocations: 44.69 kB / 0.9569 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.678e-05/0.5445, allocations: 40.22 kB / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5446, allocations: 0 / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5446, allocations: 3.938 kB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.5446, allocations: 1 kB / 0.957 GB, free: 6.238 MB / 0.7169 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.0003622/0.5449, allocations: 357.7 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.545, allocations: 8.719 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.545, allocations: 37.08 kB / 0.9573 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.5451, allocations: 11.31 kB / 0.9574 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.5451, allocations: 166.6 kB / 0.9575 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.5451, allocations: 3.438 kB / 0.9575 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.5452, allocations: 3.906 kB / 0.9575 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.627e-05/0.5453, allocations: 71.48 kB / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5453, allocations: 0 / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.5453, allocations: 5.125 kB / 0.9576 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5453, allocations: 5.141 kB / 0.9576 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.5454, allocations: 21.83 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.5457, allocations: 323.1 kB / 0.9579 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.5458, allocations: 53.38 kB / 0.958 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.5459, allocations: 20.7 kB / 0.958 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.5459, allocations: 1.125 kB / 0.958 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.546, allocations: 76.78 kB / 0.9581 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.546, allocations: 4 kB / 0.9581 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0001885/0.5462, allocations: 100.3 kB / 0.9582 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.5463, allocations: 57.88 kB / 0.9582 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.5463, allocations: 104.8 kB / 0.9583 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.5463, allocations: 26.86 kB / 0.9584 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.5464, allocations: 90.08 kB / 0.9584 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.5464, allocations: 19.11 kB / 0.9585 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.5464, allocations: 22.02 kB / 0.9585 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.5465, allocations: 319.8 kB / 0.9588 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.5465, allocations: 21.61 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.5465, allocations: 40.98 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.068e-05/0.5466, allocations: 70.67 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5466, allocations: 1.094 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001165/0.5467, allocations: 97.75 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5468, allocations: 6.031 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5468, allocations: 1.5 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5468, allocations: 5.375 kB / 0.959 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.5468, allocations: 15.98 kB / 0.959 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5468, allocations: 1.656 kB / 0.959 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.5469, allocations: 9.875 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5469, allocations: 15.84 kB / 0.9591 GB, free: 4.16 MB / 0.7169 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 5.3e-05/0.547, allocations: 122.5 kB / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.547, allocations: 7.344 kB / 0.9592 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.547, allocations: 11.91 kB / 0.9592 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.547, allocations: 5.859 kB / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.547, allocations: 0 / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.547, allocations: 0 / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.5473, allocations: 355.5 kB / 0.9595 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5473, allocations: 5.438 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.5474, allocations: 7.016 kB / 0.9596 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5474, allocations: 1.594 kB / 0.9596 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.5474, allocations: 0 / 0.9596 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5474, allocations: 5.438 kB / 0.9596 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.5474, allocations: 0 / 0.9596 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.5475, allocations: 182.9 kB / 0.9597 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.5475, allocations: 79.45 kB / 0.9598 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.5476, allocations: 5.188 kB / 0.9598 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.5476, allocations: 16.86 kB / 0.9598 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5477, allocations: 4.25 kB / 0.9598 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.5477, allocations: 6.609 kB / 0.9598 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.108e-05/0.5477, allocations: 83.28 kB / 0.9599 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5477, allocations: 0 / 0.9599 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002139/0.5479, allocations: 11.66 kB / 0.9599 GB, free: 3.301 MB / 0.7169 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.0002448/0.5482, allocations: 0.7251 MB / 0.9606 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.5483, allocations: 48.2 kB / 0.9607 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5483, allocations: 4 kB / 0.9607 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.5484, allocations: 25.45 kB / 0.9607 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.5486, allocations: 15.02 kB / 0.9607 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009209/0.5495, allocations: 1.402 MB / 0.9621 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.803e-05/0.5496, allocations: 0.6897 MB / 0.9628 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.5497, allocations: 4.125 kB / 0.9628 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.5497, allocations: 14.19 kB / 0.9628 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.5497, allocations: 0 / 0.9628 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.349/1.899, allocations: 1.467 MB / 0.9642 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.899, allocations: 196.2 kB / 0.9644 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/3.404, allocations: 0 / 0.9644 GB, free: 15.54 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches