Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.00131/0.00131, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009875/0.0009875, allocations: 169 kB / 23.82 MB, free: 0.75 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 0.9664/0.9664, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.772/1.772, allocations: 359 MB / 0.6052 GB, free: 11.03 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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7871 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/2.981e-05, allocations: 7.25 kB / 0.7871 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002157/0.002186, allocations: 1.567 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003317, allocations: 0.805 MB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.003376, allocations: 0 / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.003417, allocations: 3.938 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.003474, allocations: 16.53 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.004048, allocations: 152 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.004164, allocations: 96.94 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.00425, allocations: 15.98 kB / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.00439, allocations: 59.88 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.235e-05/0.004442, allocations: 38.83 kB / 0.7897 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.004461, allocations: 8 kB / 0.7898 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.004667, allocations: 143.7 kB / 0.7899 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.004694, allocations: 23.91 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.004731, allocations: 23.92 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.004948, allocations: 163.5 kB / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00495, allocations: 0 / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004951, allocations: 0 / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.004955, allocations: 1.281 kB / 0.7901 GB, free: 9.461 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.0005406/0.005496, allocations: 487.5 kB / 0.7906 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.005531, allocations: 8.031 kB / 0.7906 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.005744, allocations: 42.48 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005902, allocations: 135.3 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.005924, allocations: 4.375 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.005938, allocations: 9 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.006086, allocations: 88.7 kB / 0.7908 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006093, allocations: 192 / 0.7908 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.006107, allocations: 4.359 kB / 0.7908 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.006116, allocations: 3.938 kB / 0.7908 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.006163, allocations: 27.86 kB / 0.7909 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.006528, allocations: 309.2 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.006622, allocations: 47.05 kB / 0.7912 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.006659, allocations: 33.45 kB / 0.7912 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.006672, allocations: 0 / 0.7912 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.218e-05/0.006765, allocations: 88.98 kB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 6.71e-07/0.006765, allocations: 0 / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002614/0.007027, allocations: 143.9 kB / 0.7915 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.007062, allocations: 59.41 kB / 0.7915 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.007147, allocations: 181.9 kB / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.007161, allocations: 33.69 kB / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.007212, allocations: 139.1 kB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.007232, allocations: 23.98 kB / 0.7919 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.007276, allocations: 43.89 kB / 0.7919 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.007386, allocations: 0.4884 MB / 0.7924 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.007413, allocations: 16.7 kB / 0.7924 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.007466, allocations: 77.73 kB / 0.7925 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.518e-05/0.007551, allocations: 103.9 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007554, allocations: 0.625 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001249/0.007678, allocations: 122.8 kB / 0.7927 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.007693, allocations: 5.562 kB / 0.7927 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.007698, allocations: 4.812 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.007712, allocations: 0 / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.007787, allocations: 21.36 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.007795, allocations: 7.938 kB / 0.7927 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.007828, allocations: 11.94 kB / 0.7928 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.00784, allocations: 9.156 kB / 0.7928 GB, free: 6.465 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 7.754e-05/0.007917, allocations: 170.5 kB / 0.7929 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.007932, allocations: 12.48 kB / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.007955, allocations: 17.17 kB / 0.793 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007957, allocations: 0 / 0.793 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.00796, allocations: 0.8438 kB / 0.793 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.007963, allocations: 0 / 0.793 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.008269, allocations: 401.2 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008271, allocations: 1.812 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.008292, allocations: 3.938 kB / 0.7933 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.008293, allocations: 4 kB / 0.7933 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.008304, allocations: 4.078 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008306, allocations: 0.8125 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008307, allocations: 3.938 kB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.008487, allocations: 286 kB / 0.7936 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.008497, allocations: 7.953 kB / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.008515, allocations: 8 kB / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.008561, allocations: 3.984 kB / 0.7936 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.008595, allocations: 4 kB / 0.7936 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.008605, allocations: 7.984 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001248/0.00873, allocations: 141.6 kB / 0.7938 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00873, allocations: 2 kB / 0.7938 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002098/0.00894, allocations: 43.92 kB / 0.7938 GB, free: 5.309 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.0003012/0.009241, allocations: 173.5 kB / 0.794 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.009382, allocations: 68.62 kB / 0.7941 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.009383, allocations: 0 / 0.7941 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.009431, allocations: 32.17 kB / 0.7941 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.00963, allocations: 28.56 kB / 0.7941 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.01011, allocations: 214.6 kB / 0.7943 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.01015, allocations: 63.34 kB / 0.7944 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.01018, allocations: 4.734 kB / 0.7944 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.01021, allocations: 16.48 kB / 0.7944 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01021, allocations: 0 / 0.7944 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.00374/0.01395, allocations: 1.936 MB / 0.7963 GB, free: 2.773 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.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: 4.985837994143367]