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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009378/0.0009377, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001293/0.001292, allocations: 181 kB / 16.28 MB, free: 6.277 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5376, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001328/0.539, allocations: 1.232 MB / 0.9564 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.5401, allocations: 0.7417 MB / 0.9571 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.5401, allocations: 1.156 kB / 0.9571 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.5402, allocations: 4 kB / 0.9571 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.5402, allocations: 14.36 kB / 0.9571 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.5407, allocations: 122.6 kB / 0.9572 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.974e-05/0.5408, allocations: 93.05 kB / 0.9573 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.5409, allocations: 13.73 kB / 0.9573 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.541, allocations: 42.73 kB / 0.9574 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.541, allocations: 55.77 kB / 0.9574 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.5411, allocations: 4.625 kB / 0.9574 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.5412, allocations: 93.78 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.5413, allocations: 16.77 kB / 0.9575 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.5413, allocations: 60.45 kB / 0.9576 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.5415, allocations: 164.3 kB / 0.9578 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.5415, allocations: 0 / 0.9578 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5415, allocations: 0 / 0.9578 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.5415, allocations: 0 / 0.9578 GB, free: 5.727 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.0004578/0.542, allocations: 448.9 kB / 0.9582 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.542, allocations: 8.938 kB / 0.9582 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.5421, allocations: 32.56 kB / 0.9582 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.5421, allocations: 8.531 kB / 0.9582 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.5422, allocations: 180.1 kB / 0.9584 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.5422, allocations: 4.719 kB / 0.9584 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.5422, allocations: 3.344 kB / 0.9584 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.5424, allocations: 97.16 kB / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.5424, allocations: 0 / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.5425, allocations: 1.375 kB / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5425, allocations: 1.375 kB / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.5426, allocations: 58.09 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.5432, allocations: 348.6 kB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.5434, allocations: 60.52 kB / 0.959 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.5435, allocations: 47.5 kB / 0.959 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.5435, allocations: 5.453 kB / 0.959 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.5437, allocations: 101.2 kB / 0.9591 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.5437, allocations: 0 / 0.9591 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004627/0.5442, allocations: 189.5 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.5442, allocations: 57.67 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.5443, allocations: 128.3 kB / 0.9595 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5443, allocations: 26.67 kB / 0.9595 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.5443, allocations: 107.4 kB / 0.9596 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.5444, allocations: 17.72 kB / 0.9596 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.5444, allocations: 19.12 kB / 0.9596 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.744e-05/0.5444, allocations: 325 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.48e-05/0.5445, allocations: 38.45 kB / 0.96 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.5446, allocations: 69.36 kB / 0.96 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.5448, allocations: 97.52 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5448, allocations: 4 kB / 0.9601 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000233/0.545, allocations: 134.8 kB / 0.9603 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.5451, allocations: 9.859 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5451, allocations: 1.125 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5451, allocations: 1.875 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.5452, allocations: 15.23 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5452, allocations: 5.562 kB / 0.9603 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.5453, allocations: 10.06 kB / 0.9603 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.5453, allocations: 4 kB / 0.9603 GB, free: 3.371 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.326e-05/0.5454, allocations: 125.6 kB / 0.9604 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.5454, allocations: 14.67 kB / 0.9604 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.5454, allocations: 11.12 kB / 0.9605 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5454, allocations: 0 / 0.9605 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5454, allocations: 5.375 kB / 0.9605 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5454, allocations: 0 / 0.9605 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.5459, allocations: 435.5 kB / 0.9609 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5459, allocations: 3.938 kB / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.5459, allocations: 8.109 kB / 0.9609 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5459, allocations: 5.375 kB / 0.9609 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.546, allocations: 1.375 kB / 0.9609 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.546, allocations: 0 / 0.9609 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.546, allocations: 3.938 kB / 0.9609 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.5463, allocations: 244.3 kB / 0.9611 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.5463, allocations: 86.48 kB / 0.9612 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.5463, allocations: 10.67 kB / 0.9612 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5464, allocations: 4.188 kB / 0.9612 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.5465, allocations: 14.67 kB / 0.9612 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.5465, allocations: 2.75 kB / 0.9612 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.5465, allocations: 99.39 kB / 0.9613 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5465, allocations: 3.938 kB / 0.9613 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00028/0.5468, allocations: 43.61 kB / 0.9614 GB, free: 2.402 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.0006431/0.5475, allocations: 0.8455 MB / 0.9622 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.5477, allocations: 92.7 kB / 0.9623 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.5477, allocations: 0 / 0.9623 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.5479, allocations: 57.25 kB / 0.9624 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.5481, allocations: 15.95 kB / 0.9624 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.5494, allocations: 1.61 MB / 0.9639 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.5496, allocations: 0.6903 MB / 0.9646 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.5497, allocations: 15.97 kB / 0.9646 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.5497, allocations: 19.12 kB / 0.9646 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5497, allocations: 4 kB / 0.9647 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.5612, allocations: 2.642 MB / 0.9672 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.5614, allocations: 255.3 kB / 0.9675 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.076, allocations: 6.109 kB / 0.9675 GB, free: 13.85 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed