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.0008049/0.0008049, allocations: 81.95 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.001032/0.001032, allocations: 164.7 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 0.9833/0.9833, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.793/1.793, allocations: 359 MB / 0.6063 GB, free: 10.87 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.343e-06/1.343e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.484e-05, allocations: 6.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001879/0.001893, allocations: 1.566 MB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002941, allocations: 0.797 MB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.003, allocations: 3.938 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.003027, allocations: 4.625 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.003079, allocations: 13.22 kB / 0.7906 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.003578, allocations: 151.4 kB / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003697, allocations: 93.03 kB / 0.7908 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.003791, allocations: 11.98 kB / 0.7909 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.003972, allocations: 71.75 kB / 0.7909 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.004037, allocations: 36.94 kB / 0.791 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.004056, allocations: 8 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.004253, allocations: 143.7 kB / 0.7911 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.004277, allocations: 21.38 kB / 0.7911 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.0044, allocations: 23.92 kB / 0.7911 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.004602, allocations: 163.5 kB / 0.7913 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004604, allocations: 0 / 0.7913 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004604, allocations: 0.6875 kB / 0.7913 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.004609, allocations: 0 / 0.7913 GB, free: 9.137 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.0004411/0.00505, allocations: 497 kB / 0.7918 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.005083, allocations: 8.031 kB / 0.7918 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.005265, allocations: 36.86 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.005396, allocations: 125.1 kB / 0.7919 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.005414, allocations: 9.406 kB / 0.7919 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.005427, allocations: 8.359 kB / 0.792 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.005543, allocations: 84.44 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.00555, allocations: 192 / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.005559, allocations: 4.375 kB / 0.792 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.005565, allocations: 3.938 kB / 0.792 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.208e-05/0.005598, allocations: 17.61 kB / 0.7921 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.005898, allocations: 292.2 kB / 0.7923 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.005982, allocations: 49.67 kB / 0.7924 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.006011, allocations: 23.67 kB / 0.7924 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.006024, allocations: 0 / 0.7924 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.769e-05/0.006112, allocations: 85.14 kB / 0.7925 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.006113, allocations: 0 / 0.7925 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002208/0.006334, allocations: 133.5 kB / 0.7926 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.006367, allocations: 55.41 kB / 0.7927 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.006448, allocations: 192.8 kB / 0.7929 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.006461, allocations: 30.42 kB / 0.7929 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.006512, allocations: 143 kB / 0.793 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.00653, allocations: 20.36 kB / 0.793 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.00657, allocations: 39.34 kB / 0.7931 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.006682, allocations: 0.4937 MB / 0.7936 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.006699, allocations: 8 kB / 0.7936 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.492e-05/0.006743, allocations: 77.77 kB / 0.7936 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.623e-05/0.00682, allocations: 99.58 kB / 0.7937 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006822, allocations: 1.156 kB / 0.7937 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001103/0.006932, allocations: 106.9 kB / 0.7938 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.006945, allocations: 11.94 kB / 0.7938 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006949, allocations: 96 / 0.7938 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.006963, allocations: 7.984 kB / 0.7939 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.007031, allocations: 29.67 kB / 0.7939 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.007035, allocations: 4 kB / 0.7939 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.007068, allocations: 7.953 kB / 0.7939 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.007079, allocations: 11.94 kB / 0.7939 GB, free: 6.211 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.283e-05/0.007152, allocations: 177.9 kB / 0.7941 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.007174, allocations: 15.89 kB / 0.7941 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.007192, allocations: 8.438 kB / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007193, allocations: 0 / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007195, allocations: 4 kB / 0.7941 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.007198, allocations: 0.875 kB / 0.7941 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.007469, allocations: 369.9 kB / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00747, allocations: 3.469 kB / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.007491, allocations: 7.938 kB / 0.7945 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007493, allocations: 0 / 0.7945 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.007502, allocations: 7.984 kB / 0.7945 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.007503, allocations: 0 / 0.7945 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007504, allocations: 4 kB / 0.7945 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.007663, allocations: 263.8 kB / 0.7947 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.007674, allocations: 15.89 kB / 0.7947 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.007689, allocations: 0 / 0.7947 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.007735, allocations: 8.578 kB / 0.7948 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.007759, allocations: 0 / 0.7948 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.007767, allocations: 13.86 kB / 0.7948 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.00781, allocations: 141.9 kB / 0.7949 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00781, allocations: 0 / 0.7949 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001932/0.008003, allocations: 47.86 kB / 0.7949 GB, free: 5.098 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.0002549/0.008258, allocations: 168.6 kB / 0.7951 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.008364, allocations: 53.06 kB / 0.7952 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.008366, allocations: 4 kB / 0.7952 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.008409, allocations: 40.38 kB / 0.7952 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.008609, allocations: 27 kB / 0.7952 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.009007, allocations: 213.4 kB / 0.7954 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.00904, allocations: 63.34 kB / 0.7955 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.009067, allocations: 8.906 kB / 0.7955 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.009121, allocations: 82.19 kB / 0.7956 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.009121, allocations: 0 / 0.7956 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.003801/0.01292, allocations: 1.998 MB / 0.7975 GB, free: 2.453 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.976545773912221]