Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002204/0.002204, allocations: 193.1 kB / 16.14 MB, free: 6.734 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.8 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 64.08 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3303, allocations: 157.4 MB / 1.052 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003073/0.3334, allocations: 1.556 MB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3349, allocations: 0.7672 MB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.335, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.335, allocations: 3.938 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.3351, allocations: 15.91 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.3356, allocations: 103.8 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.3357, allocations: 87.7 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3359, allocations: 12 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.336, allocations: 35.91 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.336, allocations: 39.83 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3361, allocations: 4 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.3363, allocations: 95.84 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.3363, allocations: 15.92 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.3364, allocations: 43.83 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.3366, allocations: 151.8 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3366, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3367, allocations: 3.938 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3367, allocations: 4 kB / 1.055 GB, free: 5.969 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.0007196/0.3374, allocations: 459.6 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3374, allocations: 12.03 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.3375, allocations: 8.844 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3376, allocations: 172.3 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3377, allocations: 8.375 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.3377, allocations: 4.375 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3379, allocations: 93.94 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.338, allocations: 3.938 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.338, allocations: 0 / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.338, allocations: 4 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3381, allocations: 43.97 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006303/0.3388, allocations: 332.6 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.339, allocations: 70.58 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3391, allocations: 40.84 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3391, allocations: 4 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.3394, allocations: 95.34 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3394, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005096/0.3399, allocations: 181.5 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.34, allocations: 59.39 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3401, allocations: 132.6 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.3401, allocations: 34.08 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.3402, allocations: 92.28 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3402, allocations: 11.81 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.3403, allocations: 37.64 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3404, allocations: 334.7 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.3405, allocations: 31.92 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3406, allocations: 74.12 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.3408, allocations: 109.9 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3408, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002526/0.3411, allocations: 141.4 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3411, allocations: 7.984 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3411, allocations: 4 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3412, allocations: 4 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.3413, allocations: 8 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/0.3413, allocations: 11.92 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.3414, allocations: 7.906 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3414, allocations: 8 kB / 1.057 GB, free: 3.102 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 0.0001058/0.3415, allocations: 131.4 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.3415, allocations: 7.906 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.3416, allocations: 16.36 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3416, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3416, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3416, allocations: 0 / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.3421, allocations: 434.4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3422, allocations: 0 / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.3422, allocations: 7.938 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3422, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3422, allocations: 3.984 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3422, allocations: 4 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3422, allocations: 3.938 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.3426, allocations: 247.3 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.3427, allocations: 89.02 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3427, allocations: 192 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3428, allocations: 7.984 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.3429, allocations: 11.88 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.3429, allocations: 11.92 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.865e-05/0.343, allocations: 99.27 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.343, allocations: 0 / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003121/0.3433, allocations: 40 kB / 1.059 GB, free: 1.91 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.0003712/0.3437, allocations: 170.2 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.344, allocations: 91.83 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.344, allocations: 0 / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3441, allocations: 48.3 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3444, allocations: 15.98 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.0004891/0.3449, allocations: 214.1 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3452, allocations: 0.6926 MB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.3453, allocations: 11.92 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.3453, allocations: 11.44 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3453, allocations: 3.938 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of Templates: time 0.004492/0.3498, allocations: 1.614 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches