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.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.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.007495/0.007495, allocations: 97.59 kB / 15.73 MB, free: 6 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.00182/0.00182, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.445/2.445, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 62.14 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3252, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002954/0.3282, allocations: 1.478 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3297, allocations: 0.7491 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.3297, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.3298, allocations: 3.938 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.3299, allocations: 7.875 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.3304, allocations: 123.6 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3306, allocations: 75.7 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3307, allocations: 24.16 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.17e-05/0.3308, allocations: 27.92 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.3309, allocations: 39.83 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3309, allocations: 8 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.3311, allocations: 99.78 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.3311, allocations: 23.91 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.3312, allocations: 23.88 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.3315, allocations: 147.5 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3315, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3315, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3315, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 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.0006982/0.3322, allocations: 458.3 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3323, allocations: 8.031 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.3323, allocations: 8.891 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3325, allocations: 182.1 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3325, allocations: 4.375 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3325, allocations: 12.38 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3327, allocations: 73.77 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.3327, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3328, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3328, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3329, allocations: 43.91 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.3335, allocations: 296.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.3336, allocations: 46.56 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.312e-05/0.3337, allocations: 36.97 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3337, allocations: 3.984 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.3339, allocations: 83.38 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3339, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000427/0.3344, allocations: 141.6 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3344, allocations: 51.41 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3345, allocations: 137.7 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3346, allocations: 25.7 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.3346, allocations: 92.14 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3346, allocations: 11.89 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.3347, allocations: 29.72 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3348, allocations: 326.8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.3349, allocations: 23.92 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.088e-05/0.335, allocations: 57.14 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.3352, allocations: 97.06 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3352, allocations: 3.938 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002316/0.3354, allocations: 117.5 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3354, allocations: 8 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3355, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3355, allocations: 4 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.3356, allocations: 15.92 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3356, allocations: 7.938 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.3357, allocations: 4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3357, allocations: 11.98 kB / 1.093 GB, free: 11.98 MB / 0.8575 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.0001011/0.3358, allocations: 125.9 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.3358, allocations: 7.953 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.3358, allocations: 8.375 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3358, allocations: 0 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3359, allocations: 4 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3359, allocations: 4.031 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.3363, allocations: 390.3 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.3363, allocations: 7.984 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.3364, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3364, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3364, allocations: 4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3364, allocations: 3.938 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3364, allocations: 3.984 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.3367, allocations: 219.4 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.3368, allocations: 85.06 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.3368, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.3369, allocations: 7.938 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.337, allocations: 7.984 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.337, allocations: 4 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.3371, allocations: 97.52 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3371, allocations: 0 / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003076/0.3374, allocations: 39.92 kB / 1.094 GB, free: 10.88 MB / 0.8575 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.0003795/0.3378, allocations: 179.2 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.338, allocations: 79.88 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.338, allocations: 0 / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3381, allocations: 36.23 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3384, allocations: 18.02 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.3389, allocations: 172.4 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3392, allocations: 0.6924 MB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.3392, allocations: 3.75 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.3393, allocations: 19.42 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3393, allocations: 0 / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of Templates: time 0.00425/0.3435, allocations: 1.505 MB / 1.097 GB, free: 8.152 MB / 0.8575 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 -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/jenkins/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