Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 110 kB / 16.37 MB, free: 6.469 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.001626/0.001626, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.18 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.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 63.69 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2456, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002764/0.2484, allocations: 1.499 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2497, allocations: 0.7284 MB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.2498, allocations: 3.938 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.477e-05/0.2499, allocations: 3.938 kB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.25, allocations: 11.86 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.2506, allocations: 123.6 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.2508, allocations: 71.83 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2509, allocations: 15.94 kB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.251, allocations: 43.83 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.2511, allocations: 31.84 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.2512, allocations: 8 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2513, allocations: 99.84 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.2514, allocations: 15.92 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.2514, allocations: 35.84 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2517, allocations: 143.6 kB / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2517, allocations: 0 / 0.9539 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2517, allocations: 4 kB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.2517, allocations: 0 / 0.9539 GB, free: 5.219 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005861/0.2523, allocations: 417.8 kB / 0.9543 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2523, allocations: 8.031 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2524, allocations: 8.844 kB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.2525, allocations: 168.3 kB / 0.9545 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.2525, allocations: 8.375 kB / 0.9545 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.2525, allocations: 12.3 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.2527, allocations: 77.91 kB / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2527, allocations: 0 / 0.9546 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2527, allocations: 4 kB / 0.9546 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2528, allocations: 4 kB / 0.9546 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.2529, allocations: 35.97 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.2535, allocations: 316.7 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.2536, allocations: 54.5 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.134e-05/0.2537, allocations: 32.97 kB / 0.955 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.2537, allocations: 4 kB / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.2539, allocations: 71.38 kB / 0.9551 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2539, allocations: 4 kB / 0.9551 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003789/0.2543, allocations: 149.7 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.2543, allocations: 51.48 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.2544, allocations: 117.8 kB / 0.9554 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2544, allocations: 29.7 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.2545, allocations: 96.11 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.2545, allocations: 19.75 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.2546, allocations: 29.7 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.2547, allocations: 322.8 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.2548, allocations: 27.98 kB / 0.9559 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2549, allocations: 43 kB / 0.9559 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.255, allocations: 78.48 kB / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.255, allocations: 0 / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002199/0.2552, allocations: 113.5 kB / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2553, allocations: 15.88 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2553, allocations: 0 / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2553, allocations: 0 / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.2554, allocations: 11.98 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2554, allocations: 4 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.2555, allocations: 11.97 kB / 0.9561 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2555, allocations: 0 / 0.9561 GB, free: 2.672 MB / 0.7325 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 8.174e-05/0.2556, allocations: 129.5 kB / 0.9563 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.2556, allocations: 7.984 kB / 0.9563 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.2556, allocations: 8.375 kB / 0.9563 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2557, allocations: 0 / 0.9563 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2557, allocations: 0 / 0.9563 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2557, allocations: 0 / 0.9563 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.2561, allocations: 390.3 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2561, allocations: 7.922 kB / 0.9566 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.2561, allocations: 4 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2562, allocations: 3.984 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.2562, allocations: 4 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2562, allocations: 0 / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2562, allocations: 3.938 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.2564, allocations: 203.5 kB / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.2565, allocations: 89 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2565, allocations: 4 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.2566, allocations: 4 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.2567, allocations: 11.92 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2567, allocations: 0 / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.2567, allocations: 99.42 kB / 0.9571 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2567, allocations: 8 kB / 0.9571 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002826/0.257, allocations: 32 kB / 0.9571 GB, free: 1.582 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: 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.0003257/0.2574, allocations: 161 kB / 0.9572 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.2576, allocations: 75.92 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2576, allocations: 8.062 kB / 0.9573 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.2577, allocations: 31.98 kB / 0.9574 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.2579, allocations: 7.984 kB / 0.9574 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.2584, allocations: 184.3 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.2586, allocations: 0.6922 MB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.2587, allocations: 8 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.2587, allocations: 15.42 kB / 0.9582 GB, free: 360 kB / 0.7325 GB Notification: Performance of SimCode: time 2.194e-06/0.2588, allocations: 0 / 0.9582 GB, free: 360 kB / 0.7325 GB Notification: Performance of Templates: time 0.00398/0.2627, allocations: 1.449 MB / 0.9597 GB, free: 14.91 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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