Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 217.3 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.779/2.779, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.8 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003056/0.36, allocations: 1.531 MB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3616, allocations: 0.777 MB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.3616, allocations: 7.875 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.3617, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.3617, allocations: 15.86 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.3624, allocations: 163.5 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3625, allocations: 99.75 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.3626, allocations: 7.984 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3628, allocations: 59.83 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.3629, allocations: 43.83 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.3629, allocations: 8 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.3632, allocations: 147.7 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.3632, allocations: 19.97 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.3633, allocations: 39.84 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.3636, allocations: 172.8 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3636, allocations: 0 / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3636, allocations: 3.938 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3636, allocations: 0 / 1.286 GB, free: 9.344 MB / 0.9825 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.0006914/0.3643, allocations: 397.2 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3643, allocations: 8.031 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.3644, allocations: 34.75 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/0.3648, allocations: 48.84 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.3651, allocations: 132.4 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.3651, allocations: 8.359 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.3651, allocations: 8.375 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.3654, allocations: 89.64 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3654, allocations: 3.938 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3654, allocations: 3.984 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3654, allocations: 8 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3656, allocations: 43.97 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.3663, allocations: 287.8 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3665, allocations: 58.58 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3666, allocations: 52.83 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3666, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.3668, allocations: 91.5 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3668, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005459/0.3674, allocations: 189.5 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.3674, allocations: 55.41 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3675, allocations: 121.8 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3676, allocations: 37.7 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.3676, allocations: 96.08 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3677, allocations: 15.84 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.3677, allocations: 33.7 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3679, allocations: 322.8 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.368, allocations: 27.98 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3681, allocations: 73.27 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.3683, allocations: 96.2 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3683, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002777/0.3686, allocations: 129.5 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3686, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3686, allocations: 4 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3686, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3687, allocations: 19.92 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3687, allocations: 96 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.3688, allocations: 15.94 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.3688, allocations: 8 kB / 1.288 GB, free: 6.637 MB / 0.9825 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 0.000129/0.3689, allocations: 121.8 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.369, allocations: 7.953 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.369, allocations: 12.36 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.369, allocations: 4 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.369, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.369, allocations: 3.984 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.3697, allocations: 409.6 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3697, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.3697, allocations: 4 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3697, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3697, allocations: 7.984 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3697, allocations: 4.062 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3697, allocations: 4.016 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.3701, allocations: 259.4 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.3701, allocations: 11.95 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.3702, allocations: 0 / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3703, allocations: 7.984 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3703, allocations: 11.92 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3703, allocations: 4 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.837e-05/0.3704, allocations: 98.5 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3704, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003547/0.3708, allocations: 43.92 kB / 1.289 GB, free: 5.566 MB / 0.9825 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.001018/0.3718, allocations: 0.8484 MB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.3721, allocations: 79.89 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3721, allocations: 3.938 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.3722, allocations: 52.14 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3725, allocations: 19.05 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3744, allocations: 1.585 MB / 1.291 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.184e-05/0.3745, allocations: 79.33 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.3745, allocations: 4 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.3746, allocations: 23.42 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3746, allocations: 0 / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.4048, allocations: 3.629 MB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.13, allocations: 4.688 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 18.899303714279085]