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.001343/0.001343, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001621/0.001621, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9943/0.9943, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.799/1.799, allocations: 359 MB / 0.6055 GB, free: 10.88 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.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.807e-05, allocations: 4.844 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001862/0.00188, allocations: 1.551 MB / 0.789 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003008, allocations: 0.8047 MB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.003063, allocations: 0.8438 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.003086, allocations: 7.938 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.003134, allocations: 20.3 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.003619, allocations: 144.7 kB / 0.79 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003719, allocations: 99.69 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.21e-05/0.003781, allocations: 9.625 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.003903, allocations: 63.81 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.003951, allocations: 35.88 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.003967, allocations: 8 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.004166, allocations: 140.9 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.004188, allocations: 23.91 kB / 0.7904 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.004217, allocations: 23.97 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.004403, allocations: 168.1 kB / 0.7905 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.004404, allocations: 0 / 0.7905 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004405, allocations: 0.9062 kB / 0.7905 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.004408, allocations: 0 / 0.7905 GB, free: 9.129 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.0003961/0.004804, allocations: 496.1 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.004834, allocations: 9.625 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.004999, allocations: 32.86 kB / 0.7911 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.005116, allocations: 132.5 kB / 0.7912 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.005132, allocations: 9.328 kB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.005142, allocations: 8.375 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.005249, allocations: 86.12 kB / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.005255, allocations: 192 / 0.7913 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.005263, allocations: 4.359 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005268, allocations: 3.938 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.167e-05/0.0053, allocations: 19.92 kB / 0.7913 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.005574, allocations: 288.2 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.937e-05/0.005643, allocations: 43.05 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.00567, allocations: 24.39 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.005686, allocations: 4.094 kB / 0.7917 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.509e-05/0.005761, allocations: 86.69 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.005762, allocations: 0 / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001935/0.005955, allocations: 133.5 kB / 0.7919 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.005981, allocations: 51.41 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.006058, allocations: 190.5 kB / 0.7921 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.006071, allocations: 29.7 kB / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.006124, allocations: 151 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.00614, allocations: 15.78 kB / 0.7923 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.00618, allocations: 44.69 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.006289, allocations: 0.4962 MB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.006307, allocations: 11.98 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.006348, allocations: 75.14 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.00643, allocations: 103.9 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006432, allocations: 0 / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001094/0.006541, allocations: 102.4 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.006554, allocations: 11.94 kB / 0.7931 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.006558, allocations: 0 / 0.7931 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.006567, allocations: 4.531 kB / 0.7931 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.006632, allocations: 28.52 kB / 0.7931 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.006635, allocations: 5.031 kB / 0.7931 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.006667, allocations: 7.953 kB / 0.7931 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.006675, allocations: 4 kB / 0.7931 GB, free: 6.207 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.782e-05/0.006752, allocations: 175.7 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.00677, allocations: 17.27 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.006789, allocations: 8.438 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006791, allocations: 0 / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006792, allocations: 0 / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006795, allocations: 1.156 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.007061, allocations: 373.9 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007063, allocations: 4 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.007082, allocations: 12.8 kB / 0.7937 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.007084, allocations: 4 kB / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.00709, allocations: 0 / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.007091, allocations: 0.8125 kB / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.007092, allocations: 0 / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.007254, allocations: 276.7 kB / 0.794 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.007262, allocations: 7.891 kB / 0.794 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.007278, allocations: 9.344 kB / 0.794 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.446e-05/0.007323, allocations: 3.984 kB / 0.794 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.007349, allocations: 7.984 kB / 0.794 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.007359, allocations: 4 kB / 0.794 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.007401, allocations: 140.1 kB / 0.7941 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007401, allocations: 0 / 0.7941 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002024/0.007604, allocations: 50.17 kB / 0.7942 GB, free: 5.086 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.0002523/0.007856, allocations: 183 kB / 0.7944 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.007957, allocations: 63.52 kB / 0.7944 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007959, allocations: 0 / 0.7944 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.007995, allocations: 27.67 kB / 0.7945 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.00818, allocations: 27.97 kB / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.00857, allocations: 211.9 kB / 0.7947 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.008602, allocations: 63.34 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.008629, allocations: 10.19 kB / 0.7948 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.008681, allocations: 74.2 kB / 0.7948 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.008682, allocations: 0.6562 kB / 0.7948 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.003307/0.01199, allocations: 1.977 MB / 0.7968 GB, free: 2.457 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.922906819265336]