Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001527/0.001527, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001918/0.001918, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 472.7 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 70.38 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3459, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.00341/0.3494, allocations: 1.543 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3508, allocations: 0.7518 MB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.3509, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.351, allocations: 3.938 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.351, allocations: 7.938 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.3517, allocations: 99.77 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.3518, allocations: 75.72 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.352, allocations: 20.14 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.3521, allocations: 27.92 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.3522, allocations: 27.84 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3522, allocations: 8 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.3525, allocations: 95.84 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.3525, allocations: 11.97 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.3526, allocations: 35.8 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.3529, allocations: 139.9 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3529, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3529, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3529, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 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.0006817/0.3536, allocations: 446.6 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3536, allocations: 12.03 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.3537, allocations: 0.9375 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3538, allocations: 184.2 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3538, allocations: 4.375 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3539, allocations: 4.375 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3541, allocations: 81.7 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3541, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3541, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.3541, allocations: 11.92 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.3543, allocations: 39.98 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.3548, allocations: 300.7 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.355, allocations: 54.5 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.3551, allocations: 32.97 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3551, allocations: 4 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.3554, allocations: 79.36 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.3554, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004457/0.3558, allocations: 149.5 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3559, allocations: 55.41 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.356, allocations: 125.8 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.356, allocations: 33.7 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.3561, allocations: 84.14 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3561, allocations: 19.75 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.3561, allocations: 33.64 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.3562, allocations: 322.8 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.3563, allocations: 23.98 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.308e-05/0.3564, allocations: 61.14 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3566, allocations: 89.06 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3566, allocations: 0 / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002288/0.3569, allocations: 113.4 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3569, allocations: 4 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3569, allocations: 4 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3569, allocations: 8.125 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.357, allocations: 23.98 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.357, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.3571, allocations: 7.906 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3571, allocations: 4 kB / 1.073 GB, free: 5.305 MB / 0.8262 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.0001017/0.3572, allocations: 131.3 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.3572, allocations: 11.84 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3573, allocations: 12.38 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3573, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3573, allocations: 4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3573, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.3578, allocations: 386.5 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3578, allocations: 0 / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.3579, allocations: 11.92 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3579, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3579, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3579, allocations: 3.938 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3579, allocations: 4 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.3582, allocations: 211.4 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3583, allocations: 89 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3583, allocations: 0 / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3584, allocations: 15.94 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.3585, allocations: 3.984 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3585, allocations: 4 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.3586, allocations: 102.6 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3586, allocations: 0 / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000335/0.3589, allocations: 39.98 kB / 1.074 GB, free: 4.199 MB / 0.8262 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.0003433/0.3593, allocations: 166.1 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3595, allocations: 71.89 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3595, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3596, allocations: 39.97 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3599, allocations: 11 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.3604, allocations: 210.3 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.3606, allocations: 0.6887 MB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.3607, allocations: 8.078 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.3607, allocations: 11.44 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.3607, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of Templates: time 0.00405/0.3648, allocations: 1.403 MB / 1.076 GB, free: 1.586 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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