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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_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.001172/0.001172, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001145/0.001145, allocations: 197.2 kB / 16.25 MB, free: 6.625 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.156/1.156, 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 10.1.1-maint.10.0.x/package.mo): time 2.195/2.195, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 67.91 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4986, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002777/0.5014, allocations: 1.527 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007079/0.5022, allocations: 435 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.5022, allocations: 7.938 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.5023, allocations: 3.984 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.5024, allocations: 7.922 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.5025, allocations: 15.98 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.5026, allocations: 47.92 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.5027, allocations: 15.98 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.5028, allocations: 27.84 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.5028, allocations: 19.92 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.5029, allocations: 4 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.5029, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.5029, allocations: 15.92 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.5029, allocations: 19.92 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.503, allocations: 50.06 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5031, allocations: 4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5031, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5031, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 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.0004338/0.5035, allocations: 363.3 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5036, allocations: 8.031 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.516e-05/0.5037, allocations: 38.83 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.5037, allocations: 4.875 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.5038, allocations: 180.2 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5038, allocations: 8.375 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.5038, allocations: 8.375 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.5039, allocations: 57.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.504, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.504, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.504, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.902e-05/0.504, allocations: 27.92 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.5045, allocations: 296.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5046, allocations: 54.56 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.5046, allocations: 32.97 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.5047, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.5048, allocations: 75.3 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.5048, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002007/0.505, allocations: 97.61 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.5051, allocations: 55.41 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.5051, allocations: 101.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.5052, allocations: 33.7 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.5052, allocations: 88.03 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.5052, allocations: 19.72 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.5053, allocations: 33.64 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.5054, allocations: 327.2 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.5054, allocations: 15.98 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.5055, allocations: 43.38 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.568e-05/0.5056, allocations: 67.36 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5056, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001422/0.5057, allocations: 105.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.5057, allocations: 5.875 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5058, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.5058, allocations: 4.047 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.5058, allocations: 11.98 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5058, allocations: 3.938 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.5059, allocations: 15.92 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.5059, allocations: 7.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 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 7.27e-05/0.506, allocations: 119.9 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.506, allocations: 7.906 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.5061, allocations: 11.95 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5061, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5061, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5061, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.5064, allocations: 350.5 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5065, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.5065, allocations: 11.94 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5065, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5065, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5065, allocations: 7.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5065, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.5067, allocations: 179.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.5067, allocations: 81.02 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.5067, allocations: 7.984 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.5068, allocations: 15.88 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.5069, allocations: 7.984 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.5069, allocations: 8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.5069, allocations: 79.47 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5069, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002195/0.5072, allocations: 23.92 kB / 1.022 GB, free: 13.04 MB / 0.7794 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.0004051/0.5076, allocations: 0.7085 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.5077, allocations: 51.92 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5077, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.5078, allocations: 31.92 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.508, allocations: 11.94 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5093, allocations: 1.39 MB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.5095, allocations: 0.6846 MB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.5096, allocations: 11.94 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.5096, allocations: 23.38 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5096, allocations: 0 / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.5242, allocations: 1.597 MB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.5245, allocations: 200.4 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.103, allocations: 4 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches