Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 108 kB / 16.37 MB, free: 6.477 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.001738/0.001738, allocations: 193.1 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.39/1.39, 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.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 60.28 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2571, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002735/0.2599, allocations: 1.505 MB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2612, allocations: 0.74 MB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.2613, allocations: 4 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.2613, allocations: 3.938 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.2614, allocations: 11.88 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.2619, allocations: 127.6 kB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2621, allocations: 67.78 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2622, allocations: 20.16 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.2623, allocations: 35.86 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.2624, allocations: 31.91 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2624, allocations: 8 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.2626, allocations: 95.78 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.2626, allocations: 19.97 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.2627, allocations: 35.8 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2629, allocations: 139.6 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2629, allocations: 0 / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2629, allocations: 4 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2629, allocations: 3.938 kB / 0.9539 GB, free: 5.188 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.0006196/0.2636, allocations: 450.5 kB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2636, allocations: 12.03 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.2637, allocations: 8.844 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2638, allocations: 176.2 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2638, allocations: 4.375 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.2638, allocations: 4.375 kB / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.264, allocations: 77.77 kB / 0.9546 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2641, allocations: 3.984 kB / 0.9546 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2641, allocations: 0 / 0.9546 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2641, allocations: 8 kB / 0.9546 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.2642, allocations: 39.91 kB / 0.9546 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.2647, allocations: 296.7 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.2649, allocations: 54.56 kB / 0.955 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.265, allocations: 40.91 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.265, allocations: 0 / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.2652, allocations: 83.3 kB / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.2652, allocations: 4 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004367/0.2656, allocations: 141.7 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.2657, allocations: 51.41 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2658, allocations: 133.7 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2658, allocations: 29.7 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.2659, allocations: 88.14 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.2659, allocations: 19.73 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.266, allocations: 25.72 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2661, allocations: 322.8 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.2662, allocations: 23.98 kB / 0.9559 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.835e-05/0.2663, allocations: 65.08 kB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.2664, allocations: 89.06 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2664, allocations: 0 / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002312/0.2667, allocations: 113.4 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2667, allocations: 4 kB / 0.9562 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2667, allocations: 4 kB / 0.9562 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2667, allocations: 4.031 kB / 0.9562 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.2668, allocations: 24.14 kB / 0.9562 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2668, allocations: 3.938 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.2669, allocations: 4 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2669, allocations: 4 kB / 0.9562 GB, free: 2.551 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,occ.y,bli.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.0001003/0.267, allocations: 132.1 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.2671, allocations: 7.906 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.2671, allocations: 8.375 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2671, allocations: 0 / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2671, allocations: 7.938 kB / 0.9563 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2671, allocations: 7.938 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.2676, allocations: 394.3 kB / 0.9567 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2676, allocations: 0 / 0.9567 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.2677, allocations: 7.984 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2677, allocations: 0 / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2677, allocations: 0 / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.2677, allocations: 7.938 kB / 0.9567 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2677, allocations: 0 / 0.9567 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.268, allocations: 215.4 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.2681, allocations: 85.02 kB / 0.957 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2681, allocations: 0 / 0.957 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2682, allocations: 11.94 kB / 0.957 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.2682, allocations: 7.984 kB / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2683, allocations: 0 / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.2683, allocations: 103.1 kB / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2683, allocations: 0 / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003248/0.2687, allocations: 39.98 kB / 0.9572 GB, free: 1.438 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.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.0003435/0.269, allocations: 163.3 kB / 0.9573 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.2693, allocations: 75.89 kB / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2693, allocations: 0 / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.2694, allocations: 43.91 kB / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2697, allocations: 7.984 kB / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.2702, allocations: 188.3 kB / 0.9576 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2704, allocations: 0.7003 MB / 0.9583 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.2705, allocations: 4.078 kB / 0.9583 GB, free: 212 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.2705, allocations: 19.36 kB / 0.9584 GB, free: 192 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2705, allocations: 0 / 0.9584 GB, free: 192 kB / 0.7325 GB Notification: Performance of Templates: time 0.004501/0.275, allocations: 1.497 MB / 0.9598 GB, free: 14.71 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time