Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001412/0.001412, allocations: 196.8 kB / 17.3 MB, free: 5.516 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 61.52 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2851, allocations: 140.4 MB / 0.9511 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002714/0.2879, allocations: 1.512 MB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2891, allocations: 0.7596 MB / 0.9533 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.2891, allocations: 3.938 kB / 0.9533 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.2891, allocations: 7.922 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.2892, allocations: 11.86 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.2897, allocations: 135.6 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.2899, allocations: 103.7 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.29, allocations: 15.98 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.2901, allocations: 43.89 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.2902, allocations: 51.81 kB / 0.9537 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.2902, allocations: 12 kB / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.2904, allocations: 99.84 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.2904, allocations: 27.91 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.2905, allocations: 43.77 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.2907, allocations: 159.6 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2908, allocations: 3.938 kB / 0.954 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2908, allocations: 0 / 0.954 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2908, allocations: 4 kB / 0.954 GB, free: 4.988 MB / 0.7325 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.0007192/0.2915, allocations: 458.6 kB / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2915, allocations: 8.031 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.2916, allocations: 8.844 kB / 0.9545 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2917, allocations: 179.6 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2917, allocations: 8.375 kB / 0.9547 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.2918, allocations: 12.34 kB / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.292, allocations: 93.89 kB / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.292, allocations: 0 / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2921, allocations: 0 / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2921, allocations: 0 / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.2922, allocations: 51.95 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.293, allocations: 348.6 kB / 0.9551 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.2931, allocations: 62.59 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2933, allocations: 48.77 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2933, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.2935, allocations: 99.3 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.2935, allocations: 0 / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005219/0.294, allocations: 189.6 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.2941, allocations: 51.41 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2942, allocations: 129.8 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2942, allocations: 25.7 kB / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.2943, allocations: 92.14 kB / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2943, allocations: 19.81 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.2944, allocations: 29.7 kB / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2945, allocations: 322.8 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.2946, allocations: 27.98 kB / 0.9562 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2947, allocations: 68.27 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2949, allocations: 96.2 kB / 0.9563 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2949, allocations: 0 / 0.9563 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002544/0.2951, allocations: 129.4 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2952, allocations: 8.094 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2952, allocations: 0 / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2952, allocations: 7.984 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2953, allocations: 8 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.2954, allocations: 11.92 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.392e-05/0.2954, allocations: 11.84 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2955, allocations: 8 kB / 0.9565 GB, free: 2.164 MB / 0.7325 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 9.781e-05/0.2956, allocations: 129.3 kB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.2956, allocations: 3.906 kB / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.2956, allocations: 16.36 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2956, allocations: 0 / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2956, allocations: 0 / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2957, allocations: 0 / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.2962, allocations: 426.4 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2962, allocations: 0 / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.2962, allocations: 11.98 kB / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2963, allocations: 0 / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2963, allocations: 8.062 kB / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2963, allocations: 0 / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2963, allocations: 7.875 kB / 0.9571 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.2966, allocations: 243.3 kB / 0.9573 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.2967, allocations: 81.02 kB / 0.9574 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.2967, allocations: 11.98 kB / 0.9574 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2968, allocations: 4.047 kB / 0.9574 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.2969, allocations: 15.91 kB / 0.9574 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2969, allocations: 4 kB / 0.9574 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.297, allocations: 99.02 kB / 0.9575 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.297, allocations: 3.938 kB / 0.9575 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003143/0.2973, allocations: 47.92 kB / 0.9576 GB, free: 0.9766 MB / 0.7325 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.0003409/0.2976, allocations: 158.5 kB / 0.9577 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.2979, allocations: 91.88 kB / 0.9578 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2979, allocations: 0 / 0.9578 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2981, allocations: 52.09 kB / 0.9579 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2983, allocations: 22.58 kB / 0.9579 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.2988, allocations: 196.2 kB / 0.9581 GB, free: 456 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.299, allocations: 0.6922 MB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.2991, allocations: 8 kB / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.2991, allocations: 11.44 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2991, allocations: 0 / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of Templates: time 0.004349/0.3035, allocations: 1.726 MB / 0.9605 GB, free: 13.99 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0