Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 171.1 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.094/1.094, allocations: 177.2 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.804/1.804, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.265e-05, allocations: 4.984 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00276/0.002782, allocations: 1.556 MB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.004208, allocations: 0.7973 MB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.004275, allocations: 0 / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.004308, allocations: 7.922 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.004391, allocations: 21.02 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.004996, allocations: 148 kB / 0.7908 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.005137, allocations: 99.69 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.005223, allocations: 9.406 kB / 0.7909 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.005382, allocations: 67.8 kB / 0.7909 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.005453, allocations: 31.89 kB / 0.791 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.005476, allocations: 8.844 kB / 0.791 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.005747, allocations: 143.7 kB / 0.7911 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.005779, allocations: 24.47 kB / 0.7911 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.005822, allocations: 27.92 kB / 0.7911 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.006091, allocations: 164.2 kB / 0.7913 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.006093, allocations: 0.9062 kB / 0.7913 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006094, allocations: 4 kB / 0.7913 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.006098, allocations: 0 / 0.7913 GB, free: 9.148 MB / 0.7448 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.0005628/0.006661, allocations: 488.1 kB / 0.7918 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.0067, allocations: 8.75 kB / 0.7918 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.006984, allocations: 30.53 kB / 0.7918 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.00715, allocations: 136.5 kB / 0.7919 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.007174, allocations: 12.31 kB / 0.792 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.00719, allocations: 4.375 kB / 0.792 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.007352, allocations: 84.23 kB / 0.792 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.007361, allocations: 192 / 0.792 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.007372, allocations: 384 / 0.792 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.00738, allocations: 9.531 kB / 0.792 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.904e-05/0.007429, allocations: 15.97 kB / 0.7921 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.00783, allocations: 292.2 kB / 0.7923 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.007944, allocations: 48 kB / 0.7924 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.007984, allocations: 19.67 kB / 0.7924 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.008, allocations: 11.22 kB / 0.7924 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.008116, allocations: 81 kB / 0.7925 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.008118, allocations: 0 / 0.7925 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003077/0.008426, allocations: 141.7 kB / 0.7926 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.008465, allocations: 51.41 kB / 0.7927 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.008581, allocations: 184.7 kB / 0.7929 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.008601, allocations: 33.7 kB / 0.7929 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.008672, allocations: 147 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.008708, allocations: 24.36 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.008765, allocations: 35.88 kB / 0.7931 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.008913, allocations: 0.4923 MB / 0.7936 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.00894, allocations: 9.094 kB / 0.7936 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.009009, allocations: 81.7 kB / 0.7937 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.00912, allocations: 96.23 kB / 0.7937 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.009124, allocations: 4 kB / 0.7937 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001662/0.00929, allocations: 110.6 kB / 0.7939 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.009307, allocations: 13.34 kB / 0.7939 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.009313, allocations: 0.9375 kB / 0.7939 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.009324, allocations: 4 kB / 0.7939 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.009421, allocations: 21.55 kB / 0.7939 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.009425, allocations: 0 / 0.7939 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.009484, allocations: 11.95 kB / 0.7939 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.009494, allocations: 4 kB / 0.7939 GB, free: 6.234 MB / 0.7448 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.744e-05/0.009591, allocations: 181.8 kB / 0.7941 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.009617, allocations: 11.89 kB / 0.7941 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.009648, allocations: 12.44 kB / 0.7941 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.00965, allocations: 0 / 0.7941 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.009652, allocations: 3.438 kB / 0.7941 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.009655, allocations: 0 / 0.7941 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.01006, allocations: 377.9 kB / 0.7945 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01006, allocations: 0 / 0.7945 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.0101, allocations: 7.922 kB / 0.7945 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01011, allocations: 4 kB / 0.7945 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01011, allocations: 0 / 0.7945 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01012, allocations: 3.938 kB / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01012, allocations: 0 / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.01037, allocations: 271.8 kB / 0.7947 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.01038, allocations: 12.66 kB / 0.7948 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.01041, allocations: 7.938 kB / 0.7948 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.01049, allocations: 4.484 kB / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.01052, allocations: 8.547 kB / 0.7948 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.01054, allocations: 8.562 kB / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.221e-05/0.0106, allocations: 139.1 kB / 0.7949 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0106, allocations: 1.406 kB / 0.7949 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003584/0.01096, allocations: 43.92 kB / 0.795 GB, free: 5.109 MB / 0.7448 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.000355/0.01131, allocations: 169.2 kB / 0.7951 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.01146, allocations: 60.5 kB / 0.7952 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01146, allocations: 0.8125 kB / 0.7952 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.01152, allocations: 39.88 kB / 0.7952 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.01184, allocations: 22.59 kB / 0.7952 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.01237, allocations: 207.5 kB / 0.7954 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.01241, allocations: 60.31 kB / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.01245, allocations: 10.81 kB / 0.7955 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.01252, allocations: 78.2 kB / 0.7956 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01252, allocations: 0 / 0.7956 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of Templates: time 0.004897/0.01742, allocations: 2 MB / 0.7975 GB, free: 2.473 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.113949883263558]