Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001456/0.001456, 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.001678/0.001678, allocations: 194.6 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 68.27 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2522, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00259/0.2548, allocations: 1.526 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2561, allocations: 0.7495 MB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.2562, allocations: 3.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.2562, allocations: 3.938 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.2563, allocations: 15.88 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.2569, allocations: 139.6 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.2571, allocations: 95.75 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.2571, allocations: 12 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2573, allocations: 51.83 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.2573, allocations: 55.8 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.2574, allocations: 12 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.2576, allocations: 99.84 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.2576, allocations: 15.98 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.2577, allocations: 47.77 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2579, allocations: 159.9 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.258, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.805e-06/0.258, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.258, allocations: 3.938 kB / 1.067 GB, free: 11.55 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.0006296/0.2586, allocations: 466.5 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2587, allocations: 8.031 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2587, allocations: 34.75 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.2587, allocations: 4.938 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2589, allocations: 180.3 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2589, allocations: 384 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.2589, allocations: 16.25 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2591, allocations: 89.69 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.2592, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2592, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2592, allocations: 4 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.2594, allocations: 43.97 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.2601, allocations: 344.6 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.2603, allocations: 70.58 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.2605, allocations: 40.84 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2605, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.2607, allocations: 91.34 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 3.426e-06/0.2607, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005437/0.2613, allocations: 185.6 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2613, allocations: 55.41 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2614, allocations: 128 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2615, allocations: 29.7 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.2615, allocations: 92.05 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.2616, allocations: 19.8 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.2616, allocations: 33.7 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2617, allocations: 326.8 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.2618, allocations: 27.98 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.262, allocations: 60.27 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2622, allocations: 92.22 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2622, allocations: 4 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002744/0.2624, allocations: 133.4 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2625, allocations: 8 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2625, allocations: 4.094 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2625, allocations: 0 / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2626, allocations: 15.98 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2626, allocations: 3.938 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.2627, allocations: 15.94 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2627, allocations: 7.984 kB / 1.069 GB, free: 8.688 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 9.204e-05/0.2628, allocations: 119.3 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.2629, allocations: 7.906 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.2629, allocations: 16.41 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2629, allocations: 4 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2629, allocations: 7.875 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2629, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.2635, allocations: 434.2 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2635, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.2636, allocations: 4 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2636, allocations: 4 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2636, allocations: 3.984 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2636, allocations: 0 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2636, allocations: 3.938 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.264, allocations: 247.3 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.2641, allocations: 85.05 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.2641, allocations: 4 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2642, allocations: 7.984 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.2643, allocations: 7.938 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2643, allocations: 7.984 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.2643, allocations: 98.77 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2643, allocations: 0 / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003163/0.2647, allocations: 40 kB / 1.07 GB, free: 7.512 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.0008665/0.2655, allocations: 0.8381 MB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.2658, allocations: 99.81 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2658, allocations: 4 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.266, allocations: 43.97 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2663, allocations: 11.94 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.268, allocations: 1.577 MB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.2682, allocations: 0.696 MB / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.193e-05/0.2683, allocations: 4 kB / 1.073 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.2683, allocations: 23.42 kB / 1.073 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2683, allocations: 0 / 1.073 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.2877, allocations: 2.962 MB / 1.076 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.175, allocations: 2.75 kB / 1.076 GB, free: 1.25 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_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_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TOut,win.pClose,win.pOpen,TOut.amplitude,TOut.f