Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.001326/0.001327, allocations: 112.5 kB / 15.74 MB, free: 68 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.00128/0.00128, allocations: 195.2 kB / 16.67 MB, free: 6.582 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.544/2.544, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 71.81 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2452, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002532/0.2477, allocations: 1.618 MB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.249, allocations: 0.7985 MB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.2491, allocations: 4 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.2491, allocations: 7.875 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.2492, allocations: 19.78 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.2498, allocations: 159.5 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.25, allocations: 155.6 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.2501, allocations: 21.33 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2502, allocations: 63.83 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2503, allocations: 83.72 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.2503, allocations: 15.98 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2505, allocations: 99.86 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.2506, allocations: 35.89 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.2507, allocations: 59.7 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.2509, allocations: 207.3 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2509, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.251, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.251, allocations: 0 / 1.169 GB, free: 3.945 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007437/0.2517, allocations: 0.5521 MB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2518, allocations: 8.031 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.2518, allocations: 38.73 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.2519, allocations: 12.83 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.252, allocations: 193.6 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.252, allocations: 8.375 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.252, allocations: 4.375 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.2525, allocations: 149.6 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2525, allocations: 3.984 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.2526, allocations: 4 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2526, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.253, allocations: 107.9 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/0.2538, allocations: 380.5 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.2542, allocations: 98.5 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.2545, allocations: 88.78 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.2545, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005146/0.255, allocations: 147.4 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.2551, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.001161/0.2562, allocations: 305.3 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2563, allocations: 59.39 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2564, allocations: 148.1 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2564, allocations: 33.7 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.2565, allocations: 104.4 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2565, allocations: 27.73 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.2566, allocations: 29.7 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.2567, allocations: 326.8 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.2568, allocations: 39.97 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.257, allocations: 85.11 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.2573, allocations: 125.4 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2573, allocations: 0 / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003778/0.2577, allocations: 153.5 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2577, allocations: 8.125 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2577, allocations: 7.938 kB / 1.173 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2577, allocations: 7.984 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2579, allocations: 15.98 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2579, allocations: 4 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.258, allocations: 11.94 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.258, allocations: 15.88 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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.354e-05/0.2581, allocations: 117.8 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.2582, allocations: 11.95 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.2582, allocations: 16.7 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2582, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2582, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2582, allocations: 4 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.2593, allocations: 0.5294 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2593, allocations: 0 / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.2594, allocations: 11.98 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2594, allocations: 96 / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.2594, allocations: 3.984 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2594, allocations: 11.86 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2594, allocations: 4 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.2602, allocations: 319.3 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.2603, allocations: 89.06 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2603, allocations: 3.984 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.2606, allocations: 27.84 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.2607, allocations: 11.98 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.2607, allocations: 4 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.308e-05/0.2608, allocations: 108.9 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.554e-06/0.2608, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003792/0.2612, allocations: 55.83 kB / 1.174 GB, free: 14.99 MB / 0.9356 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001321/0.2625, allocations: 0.9314 MB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005379/0.263, allocations: 143.8 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2631, allocations: 0 / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.2634, allocations: 91.86 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.2637, allocations: 16.47 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.2659, allocations: 1.779 MB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2662, allocations: 0.6963 MB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.472e-05/0.2662, allocations: 8.172 kB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.2663, allocations: 39.36 kB / 1.177 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2663, allocations: 0 / 1.177 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2844, allocations: 3.475 MB / 1.181 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.766, allocations: 16.59 kB / 1.181 GB, free: 7.812 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_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_Rijal2007WindowsTInTOutTComf.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[552]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TComf,win.TIn,win.TOut,win.p,TComf.amplitude