Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.406/2.406, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 68.12 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7822, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003451/0.7857, allocations: 1.492 MB / 0.951 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.7876, allocations: 0.7341 MB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.7877, allocations: 0 / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.311e-05/0.7878, allocations: 7.922 kB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.024e-05/0.7879, allocations: 10.75 kB / 0.9518 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.7888, allocations: 125.6 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.789, allocations: 74.03 kB / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.7892, allocations: 23 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.7894, allocations: 33.47 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.7895, allocations: 34.41 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.7895, allocations: 7.562 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.7898, allocations: 101.8 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.7899, allocations: 19.41 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.7899, allocations: 30.64 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.7903, allocations: 131.2 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.7903, allocations: 5.281 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.266e-06/0.7903, allocations: 4 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.7903, allocations: 0 / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007621/0.7911, allocations: 428 kB / 0.9527 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.7912, allocations: 8.875 kB / 0.9527 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.7912, allocations: 5.25 kB / 0.9528 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.7914, allocations: 176.2 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.7914, allocations: 2.969 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.7914, allocations: 7.375 kB / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.7917, allocations: 76.14 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.7917, allocations: 1.188 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.7917, allocations: 0 / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7917, allocations: 1.219 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.7919, allocations: 36.78 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.7924, allocations: 321.7 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7926, allocations: 48.16 kB / 0.9534 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/0.7927, allocations: 35.55 kB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.7927, allocations: 9.203 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.7929, allocations: 78.31 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.7929, allocations: 0 / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004111/0.7933, allocations: 144.7 kB / 0.9536 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.7934, allocations: 52.84 kB / 0.9537 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.7935, allocations: 124.5 kB / 0.9538 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.7935, allocations: 27.42 kB / 0.9538 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.7935, allocations: 90.61 kB / 0.9539 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.7936, allocations: 10.44 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.7936, allocations: 37.2 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.7937, allocations: 326 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.7937, allocations: 22.27 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.02e-05/0.7938, allocations: 48.16 kB / 0.9544 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.794, allocations: 77.86 kB / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.794, allocations: 0 / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002266/0.7942, allocations: 112.8 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7943, allocations: 6.125 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7943, allocations: 4 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7943, allocations: 1.312 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.7944, allocations: 16.77 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7944, allocations: 5.891 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.7945, allocations: 11.88 kB / 0.9546 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.7945, allocations: 2.812 kB / 0.9546 GB, free: 4.922 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.338e-05/0.7946, allocations: 127.1 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.7946, allocations: 6.781 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.7946, allocations: 9.594 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7946, allocations: 1.469 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.7947, allocations: 4 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.7947, allocations: 1.344 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.795, allocations: 386 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.795, allocations: 0 / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.7951, allocations: 7.797 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.7951, allocations: 1.25 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.7951, allocations: 0 / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7951, allocations: 1.25 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7951, allocations: 3.938 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.7954, allocations: 209.5 kB / 0.9553 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.7954, allocations: 87.36 kB / 0.9554 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.7954, allocations: 4.938 kB / 0.9554 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.196e-05/0.7955, allocations: 2.5 kB / 0.9554 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.7956, allocations: 10.73 kB / 0.9554 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.7956, allocations: 6.281 kB / 0.9554 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.7957, allocations: 96.98 kB / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7957, allocations: 0 / 0.9555 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003031/0.796, allocations: 39.86 kB / 0.9555 GB, free: 4.008 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000352/0.7963, allocations: 171 kB / 0.9557 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.7966, allocations: 74.72 kB / 0.9558 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7966, allocations: 0 / 0.9558 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.7967, allocations: 36.03 kB / 0.9558 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.797, allocations: 7.688 kB / 0.9558 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.7973, allocations: 193.1 kB / 0.956 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.7975, allocations: 0.688 MB / 0.9567 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.7975, allocations: 6.672 kB / 0.9567 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.7975, allocations: 10.5 kB / 0.9567 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7975, allocations: 0 / 0.9567 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of Templates: time 0.004564/0.8021, allocations: 1.444 MB / 0.9581 GB, free: 2.207 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0