Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008973/0.008973, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 8 kB / 0.8728 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7743, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002425/0.7768, allocations: 1.23 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.7784, allocations: 0.7403 MB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.7784, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.7785, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.7786, allocations: 15.8 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.7792, allocations: 111.8 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.7793, allocations: 79.77 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.7794, allocations: 15.98 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.7796, allocations: 39.84 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.7797, allocations: 39.83 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.7797, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.7799, allocations: 91.84 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.7799, allocations: 23.97 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.78, allocations: 57.5 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.7803, allocations: 149.6 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7803, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7803, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7803, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006855/0.781, allocations: 446.5 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.7811, allocations: 8.031 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.7811, allocations: 16.83 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.7813, allocations: 176.2 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.7814, allocations: 8.375 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.7814, allocations: 8.375 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.7816, allocations: 89.94 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.7817, allocations: 4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.7817, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.7817, allocations: 3.938 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.7819, allocations: 59.91 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.7825, allocations: 316.8 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.7827, allocations: 70.55 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.7828, allocations: 48.83 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.7828, allocations: 160 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.7831, allocations: 107.4 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.7831, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004929/0.7836, allocations: 193.5 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.7836, allocations: 51.41 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.7838, allocations: 141.6 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.7838, allocations: 33.7 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.7839, allocations: 88.38 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.7839, allocations: 23.73 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.7839, allocations: 17.72 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7841, allocations: 326.8 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.7842, allocations: 27.98 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.7843, allocations: 81.92 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.7845, allocations: 113.9 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7845, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002701/0.7848, allocations: 145.6 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7848, allocations: 13.81 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.7849, allocations: 3.984 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.7849, allocations: 7.938 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.785, allocations: 12 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.785, allocations: 3.984 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.7851, allocations: 15.84 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.7851, allocations: 8.375 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001171/0.7852, allocations: 131.8 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.7853, allocations: 11.91 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.7853, allocations: 12.36 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7853, allocations: 7.938 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7853, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7853, allocations: 0 / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.7859, allocations: 442.4 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7859, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.786, allocations: 7.984 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.786, allocations: 0 / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.786, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.786, allocations: 0 / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.786, allocations: 3.938 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.7863, allocations: 255.3 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.7864, allocations: 84.95 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.7864, allocations: 11.98 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.7865, allocations: 4 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.7866, allocations: 15.86 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.7866, allocations: 8 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.7867, allocations: 95.27 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7867, allocations: 0 / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003556/0.787, allocations: 43.98 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003755/0.7874, allocations: 155.2 kB / 1.029 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.7877, allocations: 103.9 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7877, allocations: 0 / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.7879, allocations: 55.97 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.7882, allocations: 9.156 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.7887, allocations: 227 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.7891, allocations: 0.6926 MB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.682e-05/0.7891, allocations: 15.97 kB / 1.03 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.7892, allocations: 11.44 kB / 1.03 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7892, allocations: 0 / 1.03 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of Templates: time 0.00489/0.7941, allocations: 1.587 MB / 1.032 GB, free: 6.207 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches