Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 107.4 kB / 16.36 MB, free: 5.824 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.001735/0.001735, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.15 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.162/2.162, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.17 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2459, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003114/0.249, allocations: 1.505 MB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2503, allocations: 0.7284 MB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.2504, allocations: 0 / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.2504, allocations: 7.922 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.2505, allocations: 11.88 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.2512, allocations: 127.6 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2513, allocations: 79.7 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.2514, allocations: 11.98 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.2515, allocations: 27.92 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.2516, allocations: 43.81 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.2516, allocations: 12 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2518, allocations: 99.84 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.2518, allocations: 11.98 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.2519, allocations: 31.8 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.2521, allocations: 143.6 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2521, allocations: 0 / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2521, allocations: 0 / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2521, allocations: 0 / 0.9539 GB, free: 5.215 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.0006362/0.2528, allocations: 420.9 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2528, allocations: 12.03 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.2529, allocations: 12.83 kB / 0.9543 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.253, allocations: 172.3 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.253, allocations: 4.375 kB / 0.9545 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.253, allocations: 8.375 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.2532, allocations: 65.97 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.2532, allocations: 0 / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2533, allocations: 0 / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2533, allocations: 4 kB / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.2534, allocations: 39.97 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.254, allocations: 316.6 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2541, allocations: 54.48 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.2542, allocations: 36.97 kB / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2543, allocations: 8.062 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.2544, allocations: 75.38 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2545, allocations: 0 / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003812/0.2548, allocations: 137.5 kB / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.2549, allocations: 59.34 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.255, allocations: 125.8 kB / 0.9554 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.255, allocations: 25.7 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.2551, allocations: 88.14 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.2551, allocations: 27.72 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.2551, allocations: 25.72 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.2552, allocations: 322.8 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.2553, allocations: 23.98 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.2554, allocations: 50.55 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2556, allocations: 70.5 kB / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2556, allocations: 0 / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002373/0.2558, allocations: 117.8 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2559, allocations: 6.031 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2559, allocations: 4 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2559, allocations: 0 / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.256, allocations: 15.92 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.256, allocations: 4.062 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.2561, allocations: 15.89 kB / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.2561, allocations: 8 kB / 0.9561 GB, free: 2.66 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 0.0001313/0.2563, allocations: 125.7 kB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.2563, allocations: 4 kB / 0.9562 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.2563, allocations: 12.38 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2564, allocations: 3.984 kB / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2564, allocations: 0 / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2564, allocations: 3.984 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.2568, allocations: 390.2 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2568, allocations: 0 / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.2569, allocations: 4 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2569, allocations: 4 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2569, allocations: 8 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2569, allocations: 0 / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2569, allocations: 3.938 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.2572, allocations: 203.4 kB / 0.9569 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.2573, allocations: 85.02 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2573, allocations: 0 / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.2574, allocations: 15.98 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.2574, allocations: 11.88 kB / 0.957 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2575, allocations: 3.984 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.2575, allocations: 87.94 kB / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2575, allocations: 0 / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000301/0.2578, allocations: 39.98 kB / 0.9571 GB, free: 1.574 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.000336/0.2582, allocations: 161.4 kB / 0.9572 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2584, allocations: 67.89 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2584, allocations: 0 / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.2585, allocations: 35.97 kB / 0.9573 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.2588, allocations: 8 kB / 0.9573 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.2592, allocations: 192.4 kB / 0.9575 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2595, allocations: 0.6922 MB / 0.9582 GB, free: 380 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.2595, allocations: 7.984 kB / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.2596, allocations: 11.44 kB / 0.9582 GB, free: 360 kB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.2596, allocations: 4 kB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of Templates: time 0.004262/0.2638, allocations: 1.454 MB / 0.9596 GB, free: 14.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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