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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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 0.002016/0.002016, allocations: 71.88 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002829/1.125, allocations: 1.528 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00136/1.126, allocations: 0.7646 MB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/1.127, allocations: 0 / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/1.127, allocations: 7.875 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/1.127, allocations: 16.28 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/1.127, allocations: 127.4 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/1.127, allocations: 93.89 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/1.127, allocations: 14.03 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/1.128, allocations: 39.02 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/1.128, allocations: 47.19 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/1.128, allocations: 8.094 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/1.128, allocations: 106 kB / 1.275 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/1.128, allocations: 29.41 kB / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/1.128, allocations: 33.47 kB / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/1.128, allocations: 156.6 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.128, allocations: 1 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.128, allocations: 4 kB / 1.275 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.128, allocations: 0 / 1.275 GB, free: 6.055 MB / 0.9981 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.0006169/1.129, allocations: 458.5 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.129, allocations: 9.594 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/1.129, allocations: 17.48 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/1.129, allocations: 180.5 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/1.129, allocations: 4.359 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/1.129, allocations: 9.781 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/1.129, allocations: 89.89 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.129, allocations: 0 / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/1.129, allocations: 1.781 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.129, allocations: 0.7188 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/1.13, allocations: 50.36 kB / 1.276 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/1.13, allocations: 318.3 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/1.13, allocations: 61.7 kB / 1.276 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.13, allocations: 44.44 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/1.13, allocations: 1.969 kB / 1.276 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/1.131, allocations: 94.5 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/1.131, allocations: 3.984 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0004983/1.131, allocations: 188.7 kB / 1.276 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/1.131, allocations: 57.67 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/1.131, allocations: 129.2 kB / 1.276 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/1.131, allocations: 27.83 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/1.131, allocations: 92.92 kB / 1.277 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/1.131, allocations: 29.14 kB / 1.277 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/1.131, allocations: 31.39 kB / 1.277 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.696e-05/1.131, allocations: 329.5 kB / 1.277 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/1.131, allocations: 27.61 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/1.132, allocations: 80.39 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/1.132, allocations: 105.6 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.132, allocations: 0.6562 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002446/1.132, allocations: 142.5 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.132, allocations: 8.281 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.132, allocations: 1.906 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.132, allocations: 5.609 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/1.132, allocations: 11.34 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.132, allocations: 4.984 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/1.132, allocations: 8.422 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/1.132, allocations: 5.156 kB / 1.277 GB, free: 3.887 MB / 0.9981 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 8.19e-05/1.132, allocations: 135.3 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/1.132, allocations: 10.33 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/1.132, allocations: 10.91 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.132, allocations: 1.031 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.132, allocations: 0 / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.132, allocations: 1.094 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/1.133, allocations: 429.8 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.133, allocations: 4 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/1.133, allocations: 5.047 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.133, allocations: 1.531 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/1.133, allocations: 12.12 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.133, allocations: 0.7812 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.133, allocations: 11.88 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/1.133, allocations: 242.4 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/1.133, allocations: 87.66 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/1.133, allocations: 0.8438 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/1.133, allocations: 9.438 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/1.133, allocations: 13.7 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/1.133, allocations: 6.438 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.374e-05/1.133, allocations: 95.58 kB / 1.278 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.133, allocations: 0 / 1.278 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003442/1.134, allocations: 47.47 kB / 1.278 GB, free: 2.988 MB / 0.9981 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.0003855/1.134, allocations: 168.2 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002857/1.135, allocations: 94.56 kB / 1.279 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.135, allocations: 4 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.135, allocations: 41.98 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/1.135, allocations: 15.22 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/1.135, allocations: 220 kB / 1.279 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/1.135, allocations: 0.6914 MB / 1.28 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.18e-05/1.136, allocations: 11.8 kB / 1.28 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/1.136, allocations: 10.94 kB / 1.28 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.136, allocations: 0 / 1.28 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of Templates: time 0.005599/1.141, allocations: 1.726 MB / 1.281 GB, free: 1.785 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.371534221805632]