Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_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.001295/0.001295, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 61.92 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2495, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002566/0.2521, allocations: 1.515 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2533, allocations: 0.7573 MB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.2534, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.2534, allocations: 3.938 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.2535, allocations: 19.84 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.2541, allocations: 139.5 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2542, allocations: 95.83 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.2543, allocations: 19.91 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.2544, allocations: 47.8 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.2545, allocations: 59.8 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.2545, allocations: 8 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.2547, allocations: 99.84 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.318e-05/0.2548, allocations: 23.97 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.2548, allocations: 39.78 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.2551, allocations: 167.8 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.2551, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2551, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2551, allocations: 4 kB / 1.067 GB, free: 11.52 MB / 0.8262 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.0006084/0.2557, allocations: 458.5 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2558, allocations: 8.031 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.2558, allocations: 34.75 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.2558, allocations: 8.938 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.256, allocations: 180.3 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.256, allocations: 8.312 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.256, allocations: 4.375 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.2563, allocations: 93.69 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2563, allocations: 4 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2563, allocations: 4 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2563, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.2565, allocations: 51.95 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.2573, allocations: 348.5 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.2574, allocations: 62.55 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.2576, allocations: 44.83 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.2576, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.2579, allocations: 103.4 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.2579, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005692/0.2585, allocations: 189.6 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2585, allocations: 51.41 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.2586, allocations: 128.1 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2586, allocations: 29.7 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.2587, allocations: 100 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.2587, allocations: 7.812 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.2588, allocations: 33.7 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.2589, allocations: 326.7 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.259, allocations: 31.98 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2591, allocations: 76.2 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2593, allocations: 88.2 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2593, allocations: 4 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002663/0.2596, allocations: 125.5 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2596, allocations: 8 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2596, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2596, allocations: 7.984 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2597, allocations: 11.94 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2597, allocations: 7.984 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.094e-05/0.2598, allocations: 7.938 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2598, allocations: 8 kB / 1.069 GB, free: 8.641 MB / 0.8262 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 8.804e-05/0.2599, allocations: 125.8 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.26, allocations: 7.906 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.26, allocations: 16.36 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.26, allocations: 0 / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.26, allocations: 0 / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.26, allocations: 3.938 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.2606, allocations: 430.3 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2606, allocations: 4 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.2607, allocations: 3.984 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.2607, allocations: 4 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.2607, allocations: 3.938 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2607, allocations: 3.984 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2607, allocations: 3.938 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.2611, allocations: 247.4 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.2611, allocations: 85.11 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.2612, allocations: 4 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.2613, allocations: 11.98 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.2614, allocations: 11.92 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.2614, allocations: 4 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.2614, allocations: 91.27 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2614, allocations: 0 / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003109/0.2617, allocations: 43.98 kB / 1.07 GB, free: 7.457 MB / 0.8262 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.0008503/0.2626, allocations: 0.8495 MB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.2629, allocations: 95.88 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2629, allocations: 4 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.2631, allocations: 51.91 kB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.2634, allocations: 11.94 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.265, allocations: 1.569 MB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2652, allocations: 0.7 MB / 1.073 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.2652, allocations: 11.98 kB / 1.073 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.2653, allocations: 19.44 kB / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2653, allocations: 0 / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.2834, allocations: 2.967 MB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.162, allocations: 17.28 kB / 1.076 GB, free: 1.164 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_latest_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