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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 109.1 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 184.5 kB / 21.33 MB, free: 0.8828 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.6 MB / 249.9 MB, free: 3.074 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 489.7 MB / 0.7761 GB, free: 2.434 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=551,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=551,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 1.127 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.8806, allocations: 172 MB / 1.295 GB, free: 38.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002091/0.8827, allocations: 1.523 MB / 1.296 GB, free: 37.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009733/0.8837, allocations: 0.7579 MB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.8837, allocations: 4 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.8838, allocations: 3.938 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.8838, allocations: 10.75 kB / 1.297 GB, free: 37.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.8843, allocations: 132.1 kB / 1.297 GB, free: 37.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.8844, allocations: 86.84 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.8845, allocations: 13.61 kB / 1.297 GB, free: 37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.8846, allocations: 46.59 kB / 1.297 GB, free: 36.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.8846, allocations: 45.23 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.8846, allocations: 8.062 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.8848, allocations: 105 kB / 1.297 GB, free: 36.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.8848, allocations: 26.02 kB / 1.298 GB, free: 36.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.8849, allocations: 36.11 kB / 1.298 GB, free: 36.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.8851, allocations: 156.5 kB / 1.298 GB, free: 36.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8851, allocations: 0 / 1.298 GB, free: 36.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8851, allocations: 0 / 1.298 GB, free: 36.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8851, allocations: 0 / 1.298 GB, free: 36.84 MB / 1.061 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.0005263/0.8856, allocations: 467.8 kB / 1.298 GB, free: 36.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.8856, allocations: 11.94 kB / 1.298 GB, free: 36.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.8857, allocations: 7.672 kB / 1.298 GB, free: 36.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.634e-05/0.8858, allocations: 176.9 kB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.8858, allocations: 7.125 kB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.8858, allocations: 10.06 kB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.886, allocations: 89.05 kB / 1.298 GB, free: 36.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.886, allocations: 0 / 1.298 GB, free: 36.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.886, allocations: 10.91 kB / 1.298 GB, free: 36.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.886, allocations: 0 / 1.298 GB, free: 36.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.8862, allocations: 47.02 kB / 1.298 GB, free: 36.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.8866, allocations: 329.8 kB / 1.299 GB, free: 35.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.8868, allocations: 56.52 kB / 1.299 GB, free: 35.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.8868, allocations: 44.97 kB / 1.299 GB, free: 35.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.8869, allocations: 2.906 kB / 1.299 GB, free: 35.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.887, allocations: 94.8 kB / 1.299 GB, free: 35.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.887, allocations: 0 / 1.299 GB, free: 35.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0004203/0.8875, allocations: 186 kB / 1.299 GB, free: 35.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.8875, allocations: 54.31 kB / 1.299 GB, free: 35.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.8876, allocations: 127.9 kB / 1.299 GB, free: 35.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.8876, allocations: 32.58 kB / 1.299 GB, free: 35.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.8876, allocations: 94.2 kB / 1.299 GB, free: 35.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.8876, allocations: 14.69 kB / 1.299 GB, free: 35.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.8877, allocations: 33.03 kB / 1.3 GB, free: 35.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.8877, allocations: 322.2 kB / 1.3 GB, free: 34.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.8878, allocations: 31.84 kB / 1.3 GB, free: 34.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.8879, allocations: 76.34 kB / 1.3 GB, free: 34.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.888, allocations: 110.2 kB / 1.3 GB, free: 34.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.888, allocations: 3.219 kB / 1.3 GB, free: 34.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000203/0.8882, allocations: 141.4 kB / 1.3 GB, free: 34.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.8882, allocations: 12.53 kB / 1.3 GB, free: 34.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8882, allocations: 0 / 1.3 GB, free: 34.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8883, allocations: 11.06 kB / 1.3 GB, free: 34.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.8883, allocations: 19.02 kB / 1.3 GB, free: 34.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.8884, allocations: 2.969 kB / 1.3 GB, free: 34.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.8884, allocations: 3.031 kB / 1.3 GB, free: 34.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.8884, allocations: 9.875 kB / 1.3 GB, free: 34.66 MB / 1.061 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 6.5e-05/0.8885, allocations: 127.7 kB / 1.3 GB, free: 34.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.8885, allocations: 9.734 kB / 1.3 GB, free: 34.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.8885, allocations: 12.38 kB / 1.3 GB, free: 34.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8885, allocations: 3.156 kB / 1.3 GB, free: 34.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8885, allocations: 0 / 1.3 GB, free: 34.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8885, allocations: 3.375 kB / 1.3 GB, free: 34.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.889, allocations: 441.2 kB / 1.301 GB, free: 34.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.889, allocations: 0 / 1.301 GB, free: 34.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.889, allocations: 2.719 kB / 1.301 GB, free: 34.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.889, allocations: 0 / 1.301 GB, free: 34.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.889, allocations: 6.016 kB / 1.301 GB, free: 34.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.889, allocations: 4 kB / 1.301 GB, free: 34.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.889, allocations: 3.938 kB / 1.301 GB, free: 34.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.8893, allocations: 246.2 kB / 1.301 GB, free: 33.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.8893, allocations: 83.91 kB / 1.301 GB, free: 33.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.8893, allocations: 7.281 kB / 1.301 GB, free: 33.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.8894, allocations: 6.719 kB / 1.301 GB, free: 33.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.8895, allocations: 16.47 kB / 1.301 GB, free: 33.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.8895, allocations: 5.891 kB / 1.301 GB, free: 33.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.8895, allocations: 100.4 kB / 1.301 GB, free: 33.78 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8895, allocations: 0 / 1.301 GB, free: 33.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002848/0.8898, allocations: 39.44 kB / 1.301 GB, free: 33.77 MB / 1.061 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.0003009/0.8901, allocations: 180.9 kB / 1.301 GB, free: 33.65 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.8903, allocations: 84.31 kB / 1.302 GB, free: 33.63 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8903, allocations: 0 / 1.302 GB, free: 33.63 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.8904, allocations: 44.83 kB / 1.302 GB, free: 33.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.8907, allocations: 17.11 kB / 1.302 GB, free: 33.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.891, allocations: 237.2 kB / 1.302 GB, free: 33.42 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.8911, allocations: 0.6873 MB / 1.302 GB, free: 32.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.8912, allocations: 20.67 kB / 1.303 GB, free: 32.71 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.8912, allocations: 0 / 1.303 GB, free: 32.71 MB / 1.061 GB Notification: Performance of Templates: time 0.003171/0.8943, allocations: 1.777 MB / 1.304 GB, free: 32.54 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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