Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001867/0.001867, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.209/2.209, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.45 kB / 0.8127 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2678, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002984/0.2708, allocations: 1.537 MB / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.2716, allocations: 446.9 kB / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.2716, allocations: 0 / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.2717, allocations: 3.938 kB / 0.9517 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.2717, allocations: 11.92 kB / 0.9517 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2719, allocations: 19.98 kB / 0.9517 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.2721, allocations: 47.86 kB / 0.9518 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2722, allocations: 11.98 kB / 0.9518 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.2723, allocations: 23.86 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.2723, allocations: 27.84 kB / 0.9518 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2724, allocations: 4 kB / 0.9518 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.2724, allocations: 4 kB / 0.9518 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.2724, allocations: 8 kB / 0.9518 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.2724, allocations: 27.86 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.521e-05/0.2725, allocations: 32.22 kB / 0.9519 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2725, allocations: 0 / 0.9519 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2726, allocations: 0 / 0.9519 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2726, allocations: 0 / 0.9519 GB, free: 7.027 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005074/0.2731, allocations: 412 kB / 0.9523 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2731, allocations: 12.03 kB / 0.9523 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.2732, allocations: 4.844 kB / 0.9523 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2733, allocations: 176.3 kB / 0.9525 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2733, allocations: 8.375 kB / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2733, allocations: 384 / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.2735, allocations: 61.98 kB / 0.9526 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2735, allocations: 3.938 kB / 0.9526 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2736, allocations: 0 / 0.9526 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2736, allocations: 4 kB / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.2737, allocations: 31.97 kB / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.2741, allocations: 280.8 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.2742, allocations: 38.56 kB / 0.9529 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.048e-05/0.2743, allocations: 28.88 kB / 0.9529 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2744, allocations: 3.938 kB / 0.9529 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.2745, allocations: 75.38 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.2746, allocations: 0 / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.000354/0.2749, allocations: 113.5 kB / 0.9531 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.275, allocations: 55.41 kB / 0.9532 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.2751, allocations: 121.8 kB / 0.9533 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2751, allocations: 25.7 kB / 0.9533 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.2751, allocations: 88.12 kB / 0.9534 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.2752, allocations: 19.8 kB / 0.9534 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.2752, allocations: 17.72 kB / 0.9534 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2753, allocations: 326.8 kB / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.2754, allocations: 12 kB / 0.9537 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.2755, allocations: 52.27 kB / 0.9538 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2756, allocations: 72.22 kB / 0.9539 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2756, allocations: 4.25 kB / 0.9539 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001934/0.2758, allocations: 85.55 kB / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2758, allocations: 8 kB / 0.954 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2758, allocations: 4 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2759, allocations: 7.984 kB / 0.954 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.2759, allocations: 7.984 kB / 0.954 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.276, allocations: 8.156 kB / 0.954 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.276, allocations: 7.906 kB / 0.954 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.276, allocations: 3.984 kB / 0.954 GB, free: 4.625 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: 5 (bli.blindState,$PRE.bli.blindState,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 (7): * Single equations (assignments): 7 * 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.245e-05/0.2761, allocations: 121.7 kB / 0.9541 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.2761, allocations: 4 kB / 0.9541 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.2762, allocations: 7.969 kB / 0.9541 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2762, allocations: 4 kB / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2762, allocations: 0 / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2762, allocations: 0 / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.2766, allocations: 342.5 kB / 0.9544 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2766, allocations: 0 / 0.9544 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.2766, allocations: 12.3 kB / 0.9545 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2766, allocations: 0 / 0.9545 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2767, allocations: 4 kB / 0.9545 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2767, allocations: 3.938 kB / 0.9545 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2767, allocations: 7.875 kB / 0.9545 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.2769, allocations: 187.4 kB / 0.9547 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.277, allocations: 81.02 kB / 0.9547 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.277, allocations: 0 / 0.9547 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.2771, allocations: 7.984 kB / 0.9547 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.2771, allocations: 11.94 kB / 0.9548 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2771, allocations: 3.984 kB / 0.9548 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.2772, allocations: 91.28 kB / 0.9548 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2772, allocations: 0 / 0.9548 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002333/0.2774, allocations: 8 kB / 0.9548 GB, free: 3.641 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001032/0.2775, allocations: 107.2 kB / 0.955 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.2777, allocations: 60.03 kB / 0.955 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2778, allocations: 320 / 0.955 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.2779, allocations: 27.98 kB / 0.955 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2781, allocations: 9.859 kB / 0.955 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.2785, allocations: 201.5 kB / 0.9552 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.2788, allocations: 0.6883 MB / 0.9559 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.2788, allocations: 11.44 kB / 0.9559 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.2788, allocations: 0 / 0.9559 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.00206/0.2809, allocations: 0.7502 MB / 0.9567 GB, free: 1.73 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches