Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_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.0013/0.0013, 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.001256/0.001256, allocations: 192.3 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.316/1.316, 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.408/2.408, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5194, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002223/0.5217, allocations: 1.51 MB / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.5227, allocations: 0.7584 MB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.5228, allocations: 0 / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.5228, allocations: 7.875 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.5229, allocations: 14.73 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.5234, allocations: 135.9 kB / 0.9521 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.5235, allocations: 101 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.5236, allocations: 23.16 kB / 0.9522 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.5237, allocations: 43.22 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.5237, allocations: 54.55 kB / 0.9523 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.5238, allocations: 9.75 kB / 0.9523 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.5239, allocations: 100.2 kB / 0.9524 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.524, allocations: 19.98 kB / 0.9524 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.524, allocations: 44.83 kB / 0.9525 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.5242, allocations: 162.2 kB / 0.9526 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5243, allocations: 0 / 0.9526 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5243, allocations: 0 / 0.9526 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5243, allocations: 4 kB / 0.9526 GB, free: 6.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005372/0.5248, allocations: 463.2 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5249, allocations: 9.406 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.5249, allocations: 32.62 kB / 0.9531 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.5249, allocations: 8.656 kB / 0.9531 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.848e-05/0.525, allocations: 184.5 kB / 0.9533 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.525, allocations: 8.656 kB / 0.9533 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.5251, allocations: 3.688 kB / 0.9533 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.5253, allocations: 94.16 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5253, allocations: 3.984 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.5253, allocations: 1.219 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5253, allocations: 1.219 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.5255, allocations: 48.88 kB / 0.9534 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.5261, allocations: 341.8 kB / 0.9538 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.5263, allocations: 57.89 kB / 0.9538 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.5264, allocations: 40.34 kB / 0.9539 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.5264, allocations: 1.438 kB / 0.9539 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.5266, allocations: 105.6 kB / 0.954 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.5267, allocations: 1.5 kB / 0.954 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004874/0.5271, allocations: 180.3 kB / 0.9541 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.5272, allocations: 53.62 kB / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.5273, allocations: 127.4 kB / 0.9543 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5273, allocations: 34.86 kB / 0.9543 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.5273, allocations: 90.61 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.5273, allocations: 19.36 kB / 0.9545 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.5274, allocations: 34.89 kB / 0.9545 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.5274, allocations: 325.3 kB / 0.9548 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.5275, allocations: 32.36 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.5276, allocations: 68.55 kB / 0.9549 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.5278, allocations: 87.25 kB / 0.955 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5278, allocations: 1.094 kB / 0.955 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002467/0.5281, allocations: 136.6 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5281, allocations: 5.375 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5281, allocations: 1.438 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.5281, allocations: 1.875 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.5282, allocations: 14.73 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5283, allocations: 1.438 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.5283, allocations: 9.406 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.5284, allocations: 12.2 kB / 0.9552 GB, free: 4.613 MB / 0.7169 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 6.668e-05/0.5284, allocations: 127.3 kB / 0.9553 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.5285, allocations: 12 kB / 0.9553 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.5285, allocations: 9.75 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5285, allocations: 1.094 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5285, allocations: 0 / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5285, allocations: 1.562 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.529, allocations: 436.2 kB / 0.9557 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.529, allocations: 5.406 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.529, allocations: 2.219 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.529, allocations: 1.344 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5291, allocations: 5.391 kB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5291, allocations: 0 / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5291, allocations: 4.656 kB / 0.9557 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.5294, allocations: 245.6 kB / 0.956 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.5294, allocations: 83.23 kB / 0.956 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.5295, allocations: 6.719 kB / 0.956 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.5296, allocations: 6.828 kB / 0.9561 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5296, allocations: 6.5 kB / 0.9561 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5296, allocations: 6.875 kB / 0.9561 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.5297, allocations: 98.7 kB / 0.9562 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5297, allocations: 3.938 kB / 0.9562 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002937/0.53, allocations: 49.19 kB / 0.9562 GB, free: 3.641 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: 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.0006663/0.5306, allocations: 0.8301 MB / 0.957 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.5309, allocations: 95.88 kB / 0.9571 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5309, allocations: 0 / 0.9571 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.5311, allocations: 50.25 kB / 0.9572 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5313, allocations: 12.28 kB / 0.9572 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.5327, allocations: 1.574 MB / 0.9587 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.899e-05/0.5328, allocations: 0.6919 MB / 0.9594 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.5328, allocations: 7.156 kB / 0.9594 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.5328, allocations: 28.02 kB / 0.9594 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5329, allocations: 0 / 0.9594 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.5514, allocations: 2.938 MB / 0.9623 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/7.825, allocations: 9.406 kB / 0.9623 GB, free: 15.09 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_9_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