Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.005189/0.005189, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.0013/0.0013, allocations: 197.9 kB / 16.68 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.207/2.207, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.89 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8344, allocations: 140.4 MB / 1.087 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002536/0.8369, allocations: 1.502 MB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.8381, allocations: 0.7333 MB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.8382, allocations: 1.156 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.8382, allocations: 4.734 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.8383, allocations: 13.89 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.8388, allocations: 121.6 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.839, allocations: 77.16 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.8391, allocations: 11.05 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.8392, allocations: 43.98 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.8393, allocations: 32.05 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.8393, allocations: 6.562 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.8395, allocations: 95.28 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.8395, allocations: 18.75 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.8396, allocations: 32.19 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.8398, allocations: 144.5 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8399, allocations: 0 / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8399, allocations: 0 / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.8399, allocations: 1.188 kB / 1.09 GB, free: 3.508 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.0005794/0.8405, allocations: 425.4 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8405, allocations: 10.69 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.8405, allocations: 33.34 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.8406, allocations: 8.641 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.471e-05/0.8407, allocations: 169.2 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.8407, allocations: 6.812 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.8407, allocations: 5.547 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.8409, allocations: 75.88 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8409, allocations: 0 / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.841, allocations: 1.828 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.841, allocations: 1.094 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.8411, allocations: 40.56 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.8417, allocations: 313.9 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.8418, allocations: 57.14 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.8419, allocations: 32.83 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.8419, allocations: 0.8125 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.8421, allocations: 76.91 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.8421, allocations: 1 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003934/0.8425, allocations: 141.6 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.8426, allocations: 61.56 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.8426, allocations: 118.2 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.8427, allocations: 32.44 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.8427, allocations: 91.48 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.8427, allocations: 16.19 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.8428, allocations: 24.86 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.8428, allocations: 331.4 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.8429, allocations: 26.94 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.843, allocations: 47.22 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.8432, allocations: 75.92 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.8432, allocations: 1.094 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.8434, allocations: 104.1 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.8435, allocations: 5.688 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.8435, allocations: 1.078 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8435, allocations: 1.469 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.8436, allocations: 15.23 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8436, allocations: 2.844 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.8437, allocations: 20.5 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.8437, allocations: 3.828 kB / 1.092 GB, free: 1.48 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 7.005e-05/0.8438, allocations: 123.5 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.8438, allocations: 8.266 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.8438, allocations: 10.3 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.8438, allocations: 0.9375 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8439, allocations: 5.062 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.8439, allocations: 0.6094 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.8443, allocations: 386.1 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8443, allocations: 1.359 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.8443, allocations: 5.516 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8443, allocations: 3.938 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.8444, allocations: 2.828 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8444, allocations: 4.688 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8444, allocations: 0 / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.8446, allocations: 215.4 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.8447, allocations: 83.62 kB / 1.093 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.8447, allocations: 2.609 kB / 1.093 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.8448, allocations: 8.469 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.8448, allocations: 4.016 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.8449, allocations: 3.203 kB / 1.093 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.8449, allocations: 97.89 kB / 1.093 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8449, allocations: 3.938 kB / 1.093 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003083/0.8452, allocations: 41.2 kB / 1.093 GB, free: 0.6211 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.0007485/0.846, allocations: 0.8045 MB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.8462, allocations: 68.83 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8463, allocations: 0 / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.8464, allocations: 36.72 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.8466, allocations: 8.859 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.8482, allocations: 1.496 MB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.8485, allocations: 0.6898 MB / 1.096 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.8485, allocations: 8.406 kB / 1.096 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.8486, allocations: 25.2 kB / 1.097 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.8486, allocations: 0 / 1.097 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.8701, allocations: 2.643 MB / 1.099 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/8.327, allocations: 9.5 kB / 1.099 GB, free: 13.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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_Zhang2012WindowsAll.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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