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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.461/2.461, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.91 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7615/0.7634, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002267/0.7656, allocations: 1.541 MB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.7667, allocations: 0.7729 MB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.7668, allocations: 0.9375 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.7668, allocations: 5.062 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.7669, allocations: 10.78 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.7673, allocations: 144.2 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.7675, allocations: 104.4 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.278e-05/0.7675, allocations: 8.531 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/0.7676, allocations: 48.81 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.7677, allocations: 52.88 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.7677, allocations: 9.031 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.7679, allocations: 106.1 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.7679, allocations: 24.48 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.768, allocations: 42.41 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.7682, allocations: 167.8 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7682, allocations: 1.125 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7682, allocations: 0 / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7682, allocations: 0 / 1.274 GB, free: 5.805 MB / 0.9981 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.0005185/0.7687, allocations: 454.6 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.7687, allocations: 9.969 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.617e-05/0.7688, allocations: 35.78 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.7688, allocations: 9.844 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.009e-05/0.7689, allocations: 183.2 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.7689, allocations: 7 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.7689, allocations: 9.312 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.7691, allocations: 92.06 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7691, allocations: 0.8125 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7692, allocations: 0.9375 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.7692, allocations: 1.719 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.7693, allocations: 49.72 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.7699, allocations: 345.5 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.7701, allocations: 57.39 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.7702, allocations: 40.23 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.7702, allocations: 6.156 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.7704, allocations: 88.06 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.7704, allocations: 0 / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004718/0.7708, allocations: 190.6 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.7709, allocations: 53.81 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.7709, allocations: 137 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.7709, allocations: 26.58 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.771, allocations: 90.83 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.771, allocations: 17.33 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.771, allocations: 31.11 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.7711, allocations: 326.3 kB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.7711, allocations: 31.94 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.7712, allocations: 66.17 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.7714, allocations: 98.81 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7714, allocations: 6.125 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002307/0.7716, allocations: 125.3 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7716, allocations: 8.719 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.7716, allocations: 1.125 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7716, allocations: 3.438 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.7718, allocations: 17.08 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7718, allocations: 2.891 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.7718, allocations: 17.8 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.7718, allocations: 8.547 kB / 1.277 GB, free: 3.633 MB / 0.9981 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 5.89e-05/0.7719, allocations: 121.1 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.7719, allocations: 8.672 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.7719, allocations: 10.09 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.7719, allocations: 1.891 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.772, allocations: 0 / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.772, allocations: 5.969 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.7724, allocations: 430.7 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7724, allocations: 0 / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.7724, allocations: 3.969 kB / 1.277 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7724, allocations: 4.594 kB / 1.277 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.7725, allocations: 8.484 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.7725, allocations: 1 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7725, allocations: 3.938 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.7728, allocations: 246.1 kB / 1.278 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.7728, allocations: 83.25 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.7728, allocations: 3.812 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.7729, allocations: 4.25 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.773, allocations: 8.828 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.773, allocations: 10.42 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.773, allocations: 94.78 kB / 1.278 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.773, allocations: 4 kB / 1.278 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002908/0.7733, allocations: 42.81 kB / 1.278 GB, free: 2.75 MB / 0.9981 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.0006855/0.774, allocations: 0.8527 MB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.7743, allocations: 85.48 kB / 1.279 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7743, allocations: 0 / 1.279 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.7744, allocations: 43.31 kB / 1.279 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.7746, allocations: 21.95 kB / 1.279 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.776, allocations: 1.599 MB / 1.28 GB, free: 16.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.7764, allocations: 0.6896 MB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.7765, allocations: 4.781 kB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.7765, allocations: 22.83 kB / 1.281 GB, free: 15.87 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.7765, allocations: 4 kB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.7992, allocations: 2.988 MB / 1.284 GB, free: 15.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.838, allocations: 3.781 kB / 1.284 GB, free: 15.35 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 13.032712211999751]