Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.001526/0.001526, allocations: 108 kB / 15.6 MB, free: 132 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.001822/0.001822, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.355/2.355, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6259/0.6273, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002269/0.6296, allocations: 1.489 MB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.6307, allocations: 0.7299 MB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.6307, allocations: 4.969 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.6308, allocations: 7.922 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.6309, allocations: 9.844 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.6314, allocations: 125.5 kB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.6315, allocations: 79.8 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.6316, allocations: 16.95 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.6317, allocations: 34.06 kB / 0.9522 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.6318, allocations: 39.92 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.6318, allocations: 5.688 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.632, allocations: 98.03 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.632, allocations: 15.83 kB / 0.9523 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.632, allocations: 27.64 kB / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.6323, allocations: 138.8 kB / 0.9525 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6323, allocations: 4.906 kB / 0.9525 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6323, allocations: 4 kB / 0.9525 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.6323, allocations: 1.562 kB / 0.9525 GB, free: 7.059 MB / 0.7169 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.000551/0.6329, allocations: 427.4 kB / 0.9529 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.6329, allocations: 9.125 kB / 0.9529 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.6329, allocations: 31.81 kB / 0.9529 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.633, allocations: 5.312 kB / 0.9529 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.827e-05/0.6331, allocations: 175 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.6331, allocations: 7.562 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.6331, allocations: 3.469 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.6333, allocations: 76.31 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.6333, allocations: 0 / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.6333, allocations: 5.516 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.6333, allocations: 1.531 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.6335, allocations: 36.12 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.634, allocations: 325.4 kB / 0.9535 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.6341, allocations: 52.3 kB / 0.9536 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.6342, allocations: 32.44 kB / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.6342, allocations: 0 / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.6344, allocations: 77.81 kB / 0.9537 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.6344, allocations: 0 / 0.9537 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000372/0.6348, allocations: 140 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.6348, allocations: 53.88 kB / 0.9539 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.6349, allocations: 121.5 kB / 0.954 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.6349, allocations: 31.33 kB / 0.954 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.6349, allocations: 85.73 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.6349, allocations: 23.12 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.635, allocations: 33.92 kB / 0.9542 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.635, allocations: 319.9 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.6351, allocations: 31.48 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.6352, allocations: 47.39 kB / 0.9545 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.6354, allocations: 73.75 kB / 0.9546 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6354, allocations: 5.125 kB / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002131/0.6356, allocations: 112.4 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.6356, allocations: 5.719 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6356, allocations: 1.094 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6356, allocations: 1.094 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.6357, allocations: 16.14 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6357, allocations: 1.156 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.6358, allocations: 8.594 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.6358, allocations: 10.33 kB / 0.9548 GB, free: 4.867 MB / 0.7169 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 7.095e-05/0.6359, allocations: 123.5 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.6359, allocations: 6.406 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.636, allocations: 6.625 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.636, allocations: 1.031 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.636, allocations: 4 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.636, allocations: 3.984 kB / 0.9549 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.6364, allocations: 382.6 kB / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6364, allocations: 1.375 kB / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.6364, allocations: 7.203 kB / 0.9553 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6364, allocations: 0 / 0.9553 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.6364, allocations: 1.938 kB / 0.9553 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6364, allocations: 3.938 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.6365, allocations: 5.094 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.6367, allocations: 209.8 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.6367, allocations: 86.52 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.6368, allocations: 1.5 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.6369, allocations: 10.83 kB / 0.9556 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.6369, allocations: 10.84 kB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.6369, allocations: 1.406 kB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.637, allocations: 97.14 kB / 0.9557 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.637, allocations: 0 / 0.9557 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003049/0.6373, allocations: 41.17 kB / 0.9557 GB, free: 3.957 MB / 0.7169 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.0005975/0.6379, allocations: 0.8091 MB / 0.9565 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.6381, allocations: 76.55 kB / 0.9566 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6381, allocations: 0 / 0.9566 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.6382, allocations: 35.55 kB / 0.9566 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.6385, allocations: 15.95 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.6397, allocations: 1.478 MB / 0.9581 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.593e-05/0.6398, allocations: 0.6892 MB / 0.9587 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.6398, allocations: 2.5 kB / 0.9587 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.6399, allocations: 27.14 kB / 0.9588 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6399, allocations: 0 / 0.9588 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.657, allocations: 2.601 MB / 0.9613 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.859, allocations: 19.38 kB / 0.9613 GB, free: 15.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_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_Zhang2012WindowsSouth.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_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