Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_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_latest_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.001597/0.001596, 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.001809/0.001809, allocations: 196.8 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.538/1.538, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.885/2.885, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.53 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3234, allocations: 157.4 MB / 1.052 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002984/0.3265, allocations: 1.552 MB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3278, allocations: 0.7672 MB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.3278, allocations: 0 / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.3279, allocations: 7.922 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.446e-05/0.328, allocations: 11.92 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.3285, allocations: 103.8 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3286, allocations: 91.7 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3287, allocations: 15.98 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-05/0.3288, allocations: 35.91 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.3289, allocations: 43.83 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3289, allocations: 4 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3291, allocations: 87.84 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.3292, allocations: 23.91 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.3292, allocations: 31.86 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3295, allocations: 155.8 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3295, allocations: 4 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3295, allocations: 4 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3295, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 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.0006443/0.3302, allocations: 459.6 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3302, allocations: 8.031 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3303, allocations: 8.844 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3304, allocations: 176.3 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.3304, allocations: 8.359 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3304, allocations: 8.375 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.3307, allocations: 85.95 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3307, allocations: 7.938 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3307, allocations: 3.984 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3307, allocations: 0 / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.3309, allocations: 47.91 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.3314, allocations: 328.6 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3316, allocations: 74.58 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3317, allocations: 36.84 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3318, allocations: 4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.332, allocations: 91.36 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.332, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004835/0.3325, allocations: 185.5 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.3326, allocations: 59.55 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.3327, allocations: 121.8 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3327, allocations: 33.64 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.3327, allocations: 100.2 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.3328, allocations: 15.81 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.3328, allocations: 37.64 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3329, allocations: 326.8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.333, allocations: 31.92 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3331, allocations: 69.98 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3333, allocations: 113.9 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3333, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000245/0.3336, allocations: 133.4 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3336, allocations: 8.938 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3336, allocations: 3.984 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3336, allocations: 4 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.3337, allocations: 15.98 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3338, allocations: 3.938 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.3338, allocations: 19.89 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3339, allocations: 4 kB / 1.057 GB, free: 3.098 MB / 0.8106 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 9.04e-05/0.334, allocations: 127.4 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.334, allocations: 8.281 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.334, allocations: 16.36 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.334, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.334, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.334, allocations: 3.938 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.3346, allocations: 434.4 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3346, allocations: 0 / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.3346, allocations: 11.94 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3346, allocations: 0 / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3346, allocations: 7.984 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3347, allocations: 0 / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3347, allocations: 3.938 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.335, allocations: 247.4 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.3351, allocations: 89 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3351, allocations: 4 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.3352, allocations: 7.984 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3352, allocations: 7.938 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3353, allocations: 7.984 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.3353, allocations: 102.2 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3353, allocations: 0 / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003165/0.3356, allocations: 43.98 kB / 1.059 GB, free: 1.902 MB / 0.8106 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.0003315/0.336, allocations: 165.9 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3362, allocations: 91.83 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3362, allocations: 320 / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3364, allocations: 55.97 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3367, allocations: 7.984 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.3371, allocations: 209.4 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.3373, allocations: 0.6965 MB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.3374, allocations: 7.984 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.3374, allocations: 11.44 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of SimCode: time 1.853e-06/0.3374, allocations: 0 / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of Templates: time 0.0043/0.3417, allocations: 1.615 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches