Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.0008886/0.0008887, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.00619/0.00619, allocations: 169 kB / 16.26 MB, free: 6.652 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.154/2.154, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.544, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001206/0.5452, allocations: 1.224 MB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.5462, allocations: 0.7514 MB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.5462, allocations: 0 / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.5462, allocations: 7.922 kB / 0.9571 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.5463, allocations: 14.05 kB / 0.9571 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.5467, allocations: 118.5 kB / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.127e-05/0.5468, allocations: 98.94 kB / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/0.5468, allocations: 13.28 kB / 0.9573 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.5469, allocations: 43.56 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.547, allocations: 47.31 kB / 0.9574 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.547, allocations: 4.438 kB / 0.9574 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.5472, allocations: 90.56 kB / 0.9575 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.5472, allocations: 23.5 kB / 0.9575 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.5472, allocations: 68.84 kB / 0.9576 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.5474, allocations: 160.8 kB / 0.9578 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5474, allocations: 0 / 0.9578 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5474, allocations: 0 / 0.9578 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.5475, allocations: 0 / 0.9578 GB, free: 5.699 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.0004572/0.5479, allocations: 444.5 kB / 0.9582 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.548, allocations: 13.09 kB / 0.9582 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.548, allocations: 35.88 kB / 0.9582 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.548, allocations: 6.156 kB / 0.9582 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.105e-05/0.5481, allocations: 180.1 kB / 0.9584 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.5481, allocations: 3.156 kB / 0.9584 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.5481, allocations: 8.406 kB / 0.9584 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.5483, allocations: 94.31 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.5484, allocations: 3.938 kB / 0.9585 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5484, allocations: 5.156 kB / 0.9585 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5484, allocations: 1.094 kB / 0.9585 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.5486, allocations: 55.23 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.5492, allocations: 358.5 kB / 0.9589 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.5493, allocations: 56.16 kB / 0.959 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.5494, allocations: 48.23 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.5495, allocations: 5.375 kB / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.5497, allocations: 99.47 kB / 0.9591 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.5497, allocations: 0 / 0.9591 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004906/0.5502, allocations: 204.2 kB / 0.9593 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.5502, allocations: 54.16 kB / 0.9594 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.5503, allocations: 127.6 kB / 0.9595 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.5503, allocations: 31.08 kB / 0.9595 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.5503, allocations: 90.8 kB / 0.9596 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.5503, allocations: 18.5 kB / 0.9596 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.5504, allocations: 25.83 kB / 0.9596 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.5504, allocations: 325.5 kB / 0.9599 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.5505, allocations: 35.23 kB / 0.96 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.432e-05/0.5506, allocations: 67.64 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.5508, allocations: 101.5 kB / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5508, allocations: 0 / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002244/0.551, allocations: 143.3 kB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.551, allocations: 6.906 kB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.551, allocations: 1.375 kB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.551, allocations: 1.375 kB / 0.9603 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.5511, allocations: 18.92 kB / 0.9603 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5511, allocations: 3.062 kB / 0.9603 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.5512, allocations: 9.594 kB / 0.9603 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.5512, allocations: 8.109 kB / 0.9603 GB, free: 3.332 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.049e-05/0.5513, allocations: 123.3 kB / 0.9604 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.5513, allocations: 8.031 kB / 0.9604 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.5513, allocations: 9.75 kB / 0.9605 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5513, allocations: 1.375 kB / 0.9605 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.5514, allocations: 0 / 0.9605 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5514, allocations: 5.359 kB / 0.9605 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.5518, allocations: 448.8 kB / 0.9609 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5518, allocations: 0 / 0.9609 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.5519, allocations: 8.109 kB / 0.9609 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5519, allocations: 1.375 kB / 0.9609 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5519, allocations: 5.375 kB / 0.9609 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.5519, allocations: 3.938 kB / 0.9609 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5519, allocations: 3.938 kB / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.5522, allocations: 258.3 kB / 0.9612 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.5523, allocations: 78.36 kB / 0.9612 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.5523, allocations: 10.09 kB / 0.9612 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5524, allocations: 13.39 kB / 0.9613 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.5525, allocations: 7.5 kB / 0.9613 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.5525, allocations: 10.36 kB / 0.9613 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.5525, allocations: 94.27 kB / 0.9614 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5525, allocations: 0 / 0.9614 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002701/0.5528, allocations: 39.12 kB / 0.9614 GB, free: 2.359 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.0006665/0.5535, allocations: 0.8502 MB / 0.9622 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.5537, allocations: 93.14 kB / 0.9623 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5537, allocations: 0 / 0.9623 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.5539, allocations: 54.31 kB / 0.9624 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.5541, allocations: 16.08 kB / 0.9624 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.5554, allocations: 1.623 MB / 0.964 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.5556, allocations: 0.6904 MB / 0.9646 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.5557, allocations: 7.984 kB / 0.9647 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.5557, allocations: 18.22 kB / 0.9647 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.5557, allocations: 4 kB / 0.9647 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.5673, allocations: 2.67 MB / 0.9673 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.5675, allocations: 257.9 kB / 0.9675 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.125, allocations: 0 / 0.9675 GB, free: 13.79 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed