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.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002021/0.00202, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001938/0.001938, allocations: 198 kB / 17.3 MB, free: 5.883 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.428/1.428, 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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.05 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2964, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002956/0.2994, allocations: 1.512 MB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3008, allocations: 0.7556 MB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.3008, allocations: 4 kB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.3009, allocations: 3.938 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.301, allocations: 7.875 kB / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.3016, allocations: 155.5 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3017, allocations: 95.77 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3018, allocations: 11.98 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3019, allocations: 51.83 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3021, allocations: 51.81 kB / 0.9537 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.3021, allocations: 8 kB / 0.9537 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3023, allocations: 103.9 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.3023, allocations: 23.91 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.3024, allocations: 39.84 kB / 0.9539 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.3027, allocations: 167.4 kB / 0.954 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3027, allocations: 0 / 0.954 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3027, allocations: 0 / 0.954 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3027, allocations: 0 / 0.954 GB, free: 5.016 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.0006895/0.3034, allocations: 458.6 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3034, allocations: 12.03 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.3035, allocations: 12.84 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3036, allocations: 172.2 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.3037, allocations: 12.36 kB / 0.9547 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3037, allocations: 4.375 kB / 0.9547 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.304, allocations: 93.88 kB / 0.9548 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.304, allocations: 0 / 0.9548 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.304, allocations: 0 / 0.9548 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.304, allocations: 4 kB / 0.9548 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.3042, allocations: 47.97 kB / 0.9548 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.305, allocations: 352.5 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3052, allocations: 62.55 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3053, allocations: 52.83 kB / 0.9553 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3053, allocations: 0 / 0.9553 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.3056, allocations: 99.27 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.542e-06/0.3056, allocations: 0 / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005673/0.3062, allocations: 193.7 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.3062, allocations: 55.39 kB / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.3063, allocations: 129.8 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3064, allocations: 25.7 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3064, allocations: 96.12 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.3065, allocations: 15.81 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.3065, allocations: 29.7 kB / 0.9559 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3066, allocations: 330.8 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.3067, allocations: 27.98 kB / 0.9562 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3068, allocations: 72.02 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.307, allocations: 100.1 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.307, allocations: 0 / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002608/0.3073, allocations: 125.5 kB / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3073, allocations: 4 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3073, allocations: 0 / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3074, allocations: 4 kB / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3075, allocations: 24.02 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.3075, allocations: 0 / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.3076, allocations: 19.83 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3076, allocations: 4 kB / 0.9565 GB, free: 2.168 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 0.0001039/0.3077, allocations: 121.8 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.3077, allocations: 7.906 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.3078, allocations: 12.36 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3078, allocations: 4 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3078, allocations: 0 / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3078, allocations: 7.984 kB / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.3084, allocations: 426.4 kB / 0.9571 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3084, allocations: 0 / 0.9571 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.3085, allocations: 7.984 kB / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3085, allocations: 0 / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3085, allocations: 0 / 0.9571 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3085, allocations: 4 kB / 0.9571 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3085, allocations: 3.938 kB / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.3089, allocations: 251.3 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.309, allocations: 84.95 kB / 0.9574 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.309, allocations: 8.062 kB / 0.9574 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3091, allocations: 15.98 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.3092, allocations: 3.938 kB / 0.9575 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3092, allocations: 7.984 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.3092, allocations: 99.27 kB / 0.9576 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3092, allocations: 0 / 0.9576 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003342/0.3096, allocations: 39.94 kB / 0.9576 GB, free: 0.9805 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.0003804/0.31, allocations: 168.6 kB / 0.9578 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.3103, allocations: 91.89 kB / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3103, allocations: 0 / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3105, allocations: 56.36 kB / 0.9579 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.3108, allocations: 17.2 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.0004923/0.3113, allocations: 204.1 kB / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3116, allocations: 0.6922 MB / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.3117, allocations: 4 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.3117, allocations: 11.44 kB / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of SimCode: time 2.996e-06/0.3117, allocations: 4 kB / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.004978/0.3167, allocations: 1.737 MB / 0.9605 GB, free: 13.96 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0