Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001374/0.001374, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.195 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.457/2.457, allocations: 476.7 MB / 0.7628 GB, free: 15.4 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.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 71.88 kB / 1.107 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.752, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002176/0.7541, allocations: 1.548 MB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.7552, allocations: 0.7664 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.7553, allocations: 4.906 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.7553, allocations: 8.438 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.7553, allocations: 14.64 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.7558, allocations: 132.6 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.7559, allocations: 109.3 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.397e-05/0.756, allocations: 16.19 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.7561, allocations: 42.41 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.7562, allocations: 53.3 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.7562, allocations: 8.719 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.7564, allocations: 110.6 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.7564, allocations: 24.08 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.7565, allocations: 42.8 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.7567, allocations: 161.1 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7567, allocations: 0 / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.103e-06/0.7567, allocations: 4.906 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.7567, allocations: 0 / 1.274 GB, free: 5.855 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.0005154/0.7572, allocations: 463 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.7572, allocations: 8.938 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.7573, allocations: 36.22 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.7573, allocations: 9.766 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.171e-05/0.7574, allocations: 179.9 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.7574, allocations: 3.406 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.7574, allocations: 4.5 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.7576, allocations: 99.69 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7577, allocations: 0 / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7577, allocations: 4.156 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7577, allocations: 1.094 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.7578, allocations: 45.69 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.7584, allocations: 342.5 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.7586, allocations: 63.7 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.7587, allocations: 47.19 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.7587, allocations: 5.422 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.759, allocations: 93.02 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.759, allocations: 0 / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005276/0.7595, allocations: 186.5 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.7595, allocations: 55.39 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.7596, allocations: 133.5 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.7596, allocations: 39.8 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.7596, allocations: 87.73 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.7596, allocations: 20.33 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.7597, allocations: 32.95 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.929e-05/0.7597, allocations: 324.3 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.7598, allocations: 31.89 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.002e-05/0.7599, allocations: 62.55 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.76, allocations: 92.17 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7601, allocations: 0 / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002348/0.7603, allocations: 140 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.7603, allocations: 5.938 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7603, allocations: 0.9062 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7603, allocations: 2.719 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.7604, allocations: 16.73 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.7604, allocations: 1.812 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.7605, allocations: 19.17 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.7605, allocations: 5.328 kB / 1.277 GB, free: 3.684 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 6.179e-05/0.7606, allocations: 123.9 kB / 1.277 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.7606, allocations: 8.266 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.7606, allocations: 10.91 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7606, allocations: 1.016 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7606, allocations: 5.484 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7606, allocations: 0.9688 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.7611, allocations: 432.4 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7611, allocations: 1.031 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.7611, allocations: 6.344 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7611, allocations: 0 / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7612, allocations: 6.984 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7612, allocations: 5 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7612, allocations: 3.938 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.7615, allocations: 250.8 kB / 1.278 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.7615, allocations: 82.75 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.7616, allocations: 2.219 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.7617, allocations: 6.172 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.7617, allocations: 9.641 kB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.7617, allocations: 8.047 kB / 1.278 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.7617, allocations: 94.81 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7617, allocations: 0 / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002917/0.762, allocations: 48.08 kB / 1.278 GB, free: 2.797 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.0007104/0.7627, allocations: 0.8496 MB / 1.279 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.763, allocations: 96.56 kB / 1.279 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.763, allocations: 0 / 1.279 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.7632, allocations: 40.09 kB / 1.279 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.7634, allocations: 19.02 kB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.7648, allocations: 1.592 MB / 1.28 GB, free: 16.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.7652, allocations: 0.6933 MB / 1.281 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.7652, allocations: 6.25 kB / 1.281 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.7653, allocations: 24.89 kB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.7653, allocations: 0 / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.7903, allocations: 3.004 MB / 1.284 GB, free: 15.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.773, allocations: 8.016 kB / 1.284 GB, free: 15.4 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 12.975582742999904]