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.001219/0.00122, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001563/0.001563, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.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.613/2.613, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003406, allocations: 12 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7401, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001503/0.7417, allocations: 1.194 MB / 0.9547 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.7427, allocations: 0.6773 MB / 0.9553 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.7428, allocations: 4.969 kB / 0.9553 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.7428, allocations: 3.984 kB / 0.9553 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.7429, allocations: 14.27 kB / 0.9554 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.7433, allocations: 95.41 kB / 0.9554 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.7434, allocations: 47.56 kB / 0.9555 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.7435, allocations: 12.47 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.7436, allocations: 29.06 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.7437, allocations: 27.28 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.7437, allocations: 2.625 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.7439, allocations: 74.83 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.7439, allocations: 10.08 kB / 0.9556 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.7439, allocations: 35.67 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.7441, allocations: 111.9 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.7441, allocations: 0 / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7441, allocations: 1.406 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7441, allocations: 0 / 0.9558 GB, free: 6.352 MB / 0.7169 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.0004743/0.7446, allocations: 434.9 kB / 0.9562 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.7446, allocations: 9 kB / 0.9562 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.7447, allocations: 12.42 kB / 0.9562 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.7448, allocations: 177.9 kB / 0.9564 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.7448, allocations: 18.09 kB / 0.9564 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.7448, allocations: 4 kB / 0.9564 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.745, allocations: 71.66 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7451, allocations: 0 / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.7451, allocations: 3.984 kB / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7451, allocations: 1.094 kB / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.7452, allocations: 50.52 kB / 0.9565 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.7457, allocations: 298.8 kB / 0.9568 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.7459, allocations: 55.47 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.7459, allocations: 9.391 kB / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.7461, allocations: 76.91 kB / 0.9569 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.7461, allocations: 0 / 0.9569 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004513/0.7466, allocations: 165.6 kB / 0.9571 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.7466, allocations: 61.55 kB / 0.9572 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.7467, allocations: 118.9 kB / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.7467, allocations: 26.73 kB / 0.9573 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.7468, allocations: 102.6 kB / 0.9574 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.7468, allocations: 19.09 kB / 0.9574 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.7468, allocations: 0 / 0.9574 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.7469, allocations: 321 kB / 0.9577 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.7469, allocations: 31.23 kB / 0.9578 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.747, allocations: 59.89 kB / 0.9578 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.7471, allocations: 35.02 kB / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7471, allocations: 3.938 kB / 0.9578 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002216/0.7474, allocations: 121.8 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7474, allocations: 5.562 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7474, allocations: 2.094 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7474, allocations: 6.016 kB / 0.958 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.7475, allocations: 18.8 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7476, allocations: 2.156 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.7476, allocations: 9.516 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.7477, allocations: 7.438 kB / 0.958 GB, free: 4.215 MB / 0.7169 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.428e-05/0.7477, allocations: 126.1 kB / 0.9581 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.7478, allocations: 7.562 kB / 0.9581 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.7478, allocations: 9.812 kB / 0.9581 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.7478, allocations: 1.188 kB / 0.9582 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7478, allocations: 5.453 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.7478, allocations: 0 / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.7483, allocations: 393.8 kB / 0.9585 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7483, allocations: 0 / 0.9585 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.7483, allocations: 8.5 kB / 0.9585 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.7483, allocations: 0 / 0.9585 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.7483, allocations: 13.53 kB / 0.9586 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7484, allocations: 1.125 kB / 0.9586 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7484, allocations: 0 / 0.9586 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.7486, allocations: 219.7 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.7487, allocations: 86.7 kB / 0.9588 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.7487, allocations: 1.531 kB / 0.9588 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.7488, allocations: 12.34 kB / 0.9589 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.7488, allocations: 1.906 kB / 0.9589 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.7489, allocations: 11.39 kB / 0.9589 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.7489, allocations: 100.5 kB / 0.959 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7489, allocations: 1.5 kB / 0.959 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003066/0.7492, allocations: 34.91 kB / 0.959 GB, free: 3.289 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003199/0.7496, allocations: 158.4 kB / 0.9592 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.7498, allocations: 81.7 kB / 0.9592 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7498, allocations: 0 / 0.9592 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.7499, allocations: 35.33 kB / 0.9593 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.7501, allocations: 13.27 kB / 0.9593 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.7505, allocations: 211.2 kB / 0.9595 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.7506, allocations: 0.6936 MB / 0.9602 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.7507, allocations: 10.92 kB / 0.9602 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.7507, allocations: 10.19 kB / 0.9602 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7507, allocations: 0 / 0.9602 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of Templates: time 0.004217/0.7549, allocations: 1.368 MB / 0.9615 GB, free: 1.516 MB / 0.7169 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","../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