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.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.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.001218/0.001218, allocations: 108 kB / 15.6 MB, free: 128 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.001216/0.001216, allocations: 198.3 kB / 16.53 MB, free: 6.668 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.231/2.231, allocations: 390.2 MB / 0.6647 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.89 kB / 0.8126 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.5862, allocations: 140.4 MB / 0.9497 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002164/0.5884, allocations: 1.504 MB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.5893, allocations: 0.7552 MB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.5894, allocations: 5.062 kB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.5894, allocations: 7.875 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.5895, allocations: 13.11 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.5899, allocations: 136.5 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.385e-05/0.59, allocations: 106.6 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.5901, allocations: 17.53 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.5902, allocations: 44.75 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.5902, allocations: 50.25 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.5903, allocations: 10.31 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.5904, allocations: 100.6 kB / 0.9524 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.5905, allocations: 31.95 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.5905, allocations: 36.47 kB / 0.9525 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.5907, allocations: 170.3 kB / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5907, allocations: 0 / 0.9526 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5907, allocations: 3.938 kB / 0.9526 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5907, allocations: 0 / 0.9526 GB, free: 6.848 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.0004796/0.5912, allocations: 468.8 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.5913, allocations: 10.31 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.453e-05/0.5913, allocations: 31.84 kB / 0.9531 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.5913, allocations: 12.67 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.267e-05/0.5914, allocations: 180.1 kB / 0.9533 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5914, allocations: 7.25 kB / 0.9533 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.5914, allocations: 5.75 kB / 0.9533 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.5917, allocations: 94.53 kB / 0.9534 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.5917, allocations: 0 / 0.9534 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.5917, allocations: 1.562 kB / 0.9534 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.5917, allocations: 1.188 kB / 0.9534 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.5919, allocations: 52.98 kB / 0.9535 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.5924, allocations: 343 kB / 0.9538 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.5926, allocations: 58.55 kB / 0.9538 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.5927, allocations: 40.94 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.5928, allocations: 1.781 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.593, allocations: 107.8 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.593, allocations: 0 / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004884/0.5935, allocations: 185 kB / 0.9542 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.5935, allocations: 52.91 kB / 0.9542 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.5936, allocations: 135.4 kB / 0.9543 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.5936, allocations: 26.67 kB / 0.9544 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.5936, allocations: 91.42 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.5936, allocations: 31.09 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.5937, allocations: 30.53 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.701e-05/0.5937, allocations: 325 kB / 0.9548 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.5938, allocations: 28.92 kB / 0.9548 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.5939, allocations: 63.7 kB / 0.9549 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.594, allocations: 92.42 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.594, allocations: 1.25 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002167/0.5943, allocations: 131.9 kB / 0.9551 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5943, allocations: 9.328 kB / 0.9551 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.5943, allocations: 1.25 kB / 0.9551 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5943, allocations: 2.281 kB / 0.9551 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.5944, allocations: 22.2 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5944, allocations: 2.5 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.5945, allocations: 12.22 kB / 0.9552 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5945, allocations: 4.812 kB / 0.9552 GB, free: 4.469 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.1e-05/0.5946, allocations: 127.9 kB / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.5946, allocations: 11.58 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.5946, allocations: 10.81 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5946, allocations: 1.062 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5946, allocations: 0 / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5946, allocations: 1 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.5951, allocations: 435.2 kB / 0.9557 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5951, allocations: 0 / 0.9557 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.5952, allocations: 3.344 kB / 0.9557 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5952, allocations: 1.25 kB / 0.9557 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5952, allocations: 5.281 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5952, allocations: 400 / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5952, allocations: 9.078 kB / 0.9557 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.5955, allocations: 251.5 kB / 0.956 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.5955, allocations: 83.64 kB / 0.9561 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.5956, allocations: 5.406 kB / 0.9561 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5957, allocations: 8.172 kB / 0.9561 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.5957, allocations: 10.67 kB / 0.9561 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.5957, allocations: 2.812 kB / 0.9561 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.5958, allocations: 102 kB / 0.9562 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.12e-07/0.5958, allocations: 4 kB / 0.9562 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002755/0.5961, allocations: 46.89 kB / 0.9562 GB, free: 3.492 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.0006417/0.5967, allocations: 0.8329 MB / 0.9571 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.597, allocations: 93.8 kB / 0.9571 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.597, allocations: 0 / 0.9571 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.5971, allocations: 50.56 kB / 0.9572 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.5974, allocations: 17 kB / 0.9572 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5986, allocations: 1.572 MB / 0.9587 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.932e-05/0.5987, allocations: 0.6936 MB / 0.9594 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.5987, allocations: 8.328 kB / 0.9594 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.5988, allocations: 23.97 kB / 0.9595 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5988, allocations: 0 / 0.9595 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/1.731, allocations: 2.955 MB / 0.9623 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/9.687, allocations: 12.81 kB / 0.9623 GB, free: 14.94 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