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.006909/0.006909, allocations: 106.9 kB / 15.74 MB, free: 5.949 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.001502/0.001502, allocations: 189.2 kB / 16.67 MB, free: 5.879 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.317/2.317, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.83 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.081, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002163/1.083, allocations: 1.521 MB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001088/1.084, allocations: 0.7559 MB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/1.084, allocations: 0 / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/1.084, allocations: 9.797 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/1.085, allocations: 14.23 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/1.085, allocations: 135.9 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/1.085, allocations: 105.5 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/1.085, allocations: 16.25 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/1.085, allocations: 42.75 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/1.085, allocations: 54.11 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/1.085, allocations: 9.344 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/1.086, allocations: 102.1 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/1.086, allocations: 26.3 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/1.086, allocations: 39.17 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/1.086, allocations: 169 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/1.086, allocations: 0 / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/1.086, allocations: 0.7969 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.086, allocations: 4.969 kB / 1.09 GB, free: 3.383 MB / 0.8575 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.0005429/1.087, allocations: 452.7 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.087, allocations: 9.312 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/1.087, allocations: 42.38 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/1.087, allocations: 9.109 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.893e-05/1.087, allocations: 179.1 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/1.087, allocations: 6.75 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/1.087, allocations: 5.516 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/1.087, allocations: 90.44 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.087, allocations: 5.156 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.087, allocations: 4.516 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.087, allocations: 1.312 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/1.087, allocations: 48.28 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/1.088, allocations: 342.5 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/1.088, allocations: 62.05 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/1.088, allocations: 44.05 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/1.088, allocations: 5.531 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/1.089, allocations: 97.75 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/1.089, allocations: 0.75 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005623/1.089, allocations: 187.5 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/1.089, allocations: 57.72 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/1.089, allocations: 131 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/1.089, allocations: 27.33 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/1.089, allocations: 96.72 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/1.089, allocations: 20.5 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/1.089, allocations: 30.41 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.359e-05/1.089, allocations: 324.5 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/1.09, allocations: 29.67 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.76e-05/1.09, allocations: 69.52 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/1.09, allocations: 91.31 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.09, allocations: 1.25 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002422/1.09, allocations: 134.4 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.09, allocations: 5.844 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.09, allocations: 5.766 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.09, allocations: 2 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.09, allocations: 14.3 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.09, allocations: 5.5 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/1.09, allocations: 7.156 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/1.09, allocations: 11.61 kB / 1.093 GB, free: 1.219 MB / 0.8575 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.99e-05/1.09, allocations: 127.9 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/1.09, allocations: 11.94 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/1.09, allocations: 10.73 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.09, allocations: 1.406 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.091, allocations: 0.7969 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/1.091, allocations: 0.75 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/1.091, allocations: 437.3 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/1.091, allocations: 0.7969 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/1.091, allocations: 5.328 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.091, allocations: 0.9062 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/1.091, allocations: 3.031 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.091, allocations: 0.875 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.091, allocations: 3.938 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/1.092, allocations: 246.1 kB / 1.094 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/1.092, allocations: 84.38 kB / 1.094 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/1.092, allocations: 5.5 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.092, allocations: 7.016 kB / 1.094 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/1.092, allocations: 13.31 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.092, allocations: 4.219 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.012e-05/1.092, allocations: 106.4 kB / 1.094 GB, free: 352 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.092, allocations: 0 / 1.094 GB, free: 352 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003103/1.092, allocations: 41.22 kB / 1.094 GB, free: 344 kB / 0.8575 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.0008289/1.093, allocations: 0.8378 MB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003138/1.093, allocations: 97.38 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.093, allocations: 0 / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/1.093, allocations: 50.5 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/1.094, allocations: 15.27 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/1.095, allocations: 1.585 MB / 1.096 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.096, allocations: 0.6888 MB / 1.097 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.256e-05/1.096, allocations: 5.984 kB / 1.097 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/1.096, allocations: 25.78 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/1.096, allocations: 0.7812 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.271/5.367, allocations: 3.004 MB / 1.1 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.777/15.14, allocations: 8.984 kB / 1.1 GB, free: 12.95 MB / 0.8731 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