Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.004769/0.004769, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001275/0.001275, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 62.02 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2561, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002542/0.2587, allocations: 1.504 MB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.26, allocations: 0.722 MB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.2601, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.2601, allocations: 3.938 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.2602, allocations: 7.875 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.2607, allocations: 127.6 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2608, allocations: 79.75 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.448e-05/0.2609, allocations: 11.98 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.261, allocations: 39.91 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.2611, allocations: 43.83 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.2611, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2613, allocations: 95.84 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.2613, allocations: 15.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.2614, allocations: 27.86 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.2616, allocations: 146.5 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2616, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2616, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2616, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006015/0.2622, allocations: 421.8 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2623, allocations: 8.031 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.2623, allocations: 34.75 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.2624, allocations: 8.844 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2625, allocations: 184.1 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2625, allocations: 4.375 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.2625, allocations: 4.375 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2627, allocations: 73.78 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2628, allocations: 7.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2628, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2628, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2629, allocations: 39.97 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.2635, allocations: 320.7 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.2636, allocations: 54.55 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.2637, allocations: 32.97 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2638, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.2639, allocations: 75.38 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.264, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003991/0.2644, allocations: 145.5 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2644, allocations: 55.41 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.2645, allocations: 125.8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2645, allocations: 29.7 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.2646, allocations: 92.05 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2646, allocations: 15.88 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.2647, allocations: 29.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.2648, allocations: 322.8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.2649, allocations: 27.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.265, allocations: 50.55 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.2651, allocations: 70.5 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2652, allocations: 3.938 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002379/0.2654, allocations: 113.6 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2654, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2654, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2655, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.2656, allocations: 15.92 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2656, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.148e-05/0.2656, allocations: 11.89 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.2657, allocations: 8 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.178e-05/0.2658, allocations: 126.3 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.2658, allocations: 7.906 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.2658, allocations: 4.375 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2658, allocations: 3.984 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2658, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2658, allocations: 3.984 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.2663, allocations: 382.4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2663, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.2664, allocations: 7.984 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2664, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2664, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2664, allocations: 3.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2664, allocations: 3.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.2667, allocations: 219.3 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.2667, allocations: 81.02 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.2667, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.2668, allocations: 11.92 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.2669, allocations: 8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2669, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.267, allocations: 91.27 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.563e-06/0.267, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003012/0.2673, allocations: 43.92 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0007457/0.268, allocations: 0.7977 MB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.2683, allocations: 79.89 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2683, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.2684, allocations: 35.92 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2687, allocations: 11.86 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.2702, allocations: 1.486 MB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.2704, allocations: 0.6885 MB / 1.096 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.2705, allocations: 4 kB / 1.096 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.2705, allocations: 23.42 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of SimCode: time 1.603e-06/0.2705, allocations: 4 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.289, allocations: 2.639 MB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.804, allocations: 11.67 kB / 1.099 GB, free: 5.691 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset