Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.00718/0.00718, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001886/0.001886, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.599/2.599, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8052, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002631/0.8079, allocations: 1.517 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.8092, allocations: 0.7596 MB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.8092, allocations: 0 / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.8092, allocations: 3.938 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.8093, allocations: 11.81 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.8099, allocations: 143.5 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.81, allocations: 103.8 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.8101, allocations: 15.98 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.8102, allocations: 47.83 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.8103, allocations: 47.89 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.8103, allocations: 12 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.8105, allocations: 99.78 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.8106, allocations: 27.95 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.8107, allocations: 39.78 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.8109, allocations: 167.2 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8109, allocations: 4 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8109, allocations: 0 / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.811, allocations: 4 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000708/0.8117, allocations: 462.3 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.8117, allocations: 8.922 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.8118, allocations: 30.75 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.8118, allocations: 12.89 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.812, allocations: 180.2 kB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.812, allocations: 12.31 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.812, allocations: 4.375 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.8123, allocations: 93.75 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8123, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.8123, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.8123, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.8125, allocations: 55.89 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.8133, allocations: 348.6 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.8135, allocations: 58.55 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.8137, allocations: 44.84 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.8137, allocations: 8 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.8139, allocations: 95.38 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/0.8139, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005814/0.8145, allocations: 185.8 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.8146, allocations: 59.55 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.8147, allocations: 127.6 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8147, allocations: 29.7 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.8148, allocations: 96.09 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.8148, allocations: 15.89 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.8149, allocations: 33.7 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.815, allocations: 318.8 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.8151, allocations: 39.91 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.8153, allocations: 56.28 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.8155, allocations: 100.2 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8155, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002711/0.8157, allocations: 129.5 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.8158, allocations: 8 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8158, allocations: 4.016 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8158, allocations: 4.062 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.8159, allocations: 15.98 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.8159, allocations: 7.984 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.816, allocations: 19.98 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.816, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.000109/0.8162, allocations: 124.4 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.8162, allocations: 11.94 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.8162, allocations: 12.38 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8162, allocations: 3.938 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8162, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8162, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.8169, allocations: 434.3 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8169, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.8169, allocations: 4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.817, allocations: 4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.817, allocations: 3.984 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.817, allocations: 0 / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.817, allocations: 3.938 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.8174, allocations: 243.4 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.8175, allocations: 85.06 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.8175, allocations: 7.984 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.8176, allocations: 4 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.8177, allocations: 11.92 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.8177, allocations: 4 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.694e-05/0.8178, allocations: 100.4 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.743e-06/0.8178, allocations: 0 / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003095/0.8181, allocations: 51.8 kB / 1.173 GB, free: 12.71 MB / 0.9044 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009741/0.8191, allocations: 0.8409 MB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.8194, allocations: 95.86 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8194, allocations: 0 / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.8196, allocations: 52.09 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.8198, allocations: 22.69 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.8217, allocations: 1.579 MB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.822, allocations: 0.6885 MB / 1.176 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.8221, allocations: 15.84 kB / 1.176 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.8221, allocations: 23.44 kB / 1.176 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8221, allocations: 0 / 1.176 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.8456, allocations: 2.999 MB / 1.179 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.837, allocations: 10.36 kB / 1.179 GB, free: 6.371 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.pClose,win.pOpen,TIn.amplitude,TIn.f