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.00429/0.00429, allocations: 104.2 kB / 15.74 MB, free: 6.445 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.001074/0.001074, allocations: 191.9 kB / 16.67 MB, free: 6.352 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.546/2.546, allocations: 437.1 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.238, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002394/0.2404, allocations: 1.509 MB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.2416, allocations: 0.7557 MB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.2417, allocations: 0 / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.2418, allocations: 3.938 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.2418, allocations: 15.86 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.2423, allocations: 143.5 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.2425, allocations: 103.8 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.2426, allocations: 8 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.073e-05/0.2427, allocations: 51.83 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.2428, allocations: 55.8 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.2428, allocations: 8 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.243, allocations: 99.91 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.243, allocations: 23.92 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.2431, allocations: 35.84 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.2433, allocations: 187.5 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2433, allocations: 0 / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2433, allocations: 0 / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2433, allocations: 0 / 1.169 GB, free: 4.367 MB / 0.92 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.0006215/0.244, allocations: 458.4 kB / 1.17 GB, free: 3.859 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.244, allocations: 12.03 kB / 1.17 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.2441, allocations: 38.73 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.2441, allocations: 8.891 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2442, allocations: 172.3 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.2442, allocations: 12.31 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2443, allocations: 4.375 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.2445, allocations: 85.75 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.2445, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2446, allocations: 4 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2446, allocations: 8 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.2448, allocations: 47.95 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.2455, allocations: 348.6 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.2457, allocations: 62.55 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2458, allocations: 48.83 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2459, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.2461, allocations: 95.39 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2461, allocations: 0 / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.2467, allocations: 197.9 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.2468, allocations: 59.33 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.2469, allocations: 133.7 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2469, allocations: 25.7 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.2469, allocations: 96.09 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.247, allocations: 23.83 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.247, allocations: 33.7 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.2471, allocations: 326.8 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.2472, allocations: 23.98 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.2473, allocations: 64.22 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2475, allocations: 96.2 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2475, allocations: 0 / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002646/0.2478, allocations: 129.5 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2478, allocations: 5.875 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2478, allocations: 8.031 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2478, allocations: 4 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.248, allocations: 15.98 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.248, allocations: 8 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.2481, allocations: 7.953 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.2481, allocations: 8 kB / 1.172 GB, free: 1.48 MB / 0.92 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 9.128e-05/0.2482, allocations: 129.7 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.2482, allocations: 3.953 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.2482, allocations: 16.38 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2483, allocations: 0 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2483, allocations: 0 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2483, allocations: 0 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.2489, allocations: 430.4 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2489, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.2489, allocations: 4 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2489, allocations: 7.938 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2489, allocations: 3.984 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.249, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.249, allocations: 3.938 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.2494, allocations: 243.4 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.2494, allocations: 92.98 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.2495, allocations: 8 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2496, allocations: 4 kB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.2496, allocations: 15.86 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.2496, allocations: 4 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.2497, allocations: 95.27 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2497, allocations: 4 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003079/0.25, allocations: 39.92 kB / 1.173 GB, free: 304 kB / 0.92 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.0008622/0.2509, allocations: 0.8443 MB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.2512, allocations: 91.89 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2512, allocations: 0 / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2514, allocations: 55.91 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2516, allocations: 12.39 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2532, allocations: 1.573 MB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.2535, allocations: 0.6924 MB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.2535, allocations: 15.78 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.2536, allocations: 23.42 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2536, allocations: 0 / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.2705, allocations: 3.011 MB / 1.179 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.842, allocations: 13.7 kB / 1.179 GB, free: 9.949 MB / 0.9356 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