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.001006/0.001006, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001001/0.001001, allocations: 165 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.9406/0.9406, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.816/1.816, allocations: 359 MB / 0.6052 GB, free: 11 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.363e-06/1.363e-06, allocations: 0 / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.669e-05, allocations: 4.703 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002033/0.00205, allocations: 1.568 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.003015, allocations: 0.8042 MB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.003065, allocations: 0 / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.003095, allocations: 7.875 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.003149, allocations: 24.62 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.003659, allocations: 148.7 kB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.003762, allocations: 99.69 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.003837, allocations: 4.906 kB / 0.7896 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.003956, allocations: 67.81 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.004006, allocations: 36.53 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.004024, allocations: 8 kB / 0.7898 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.004214, allocations: 141.3 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.004236, allocations: 19.92 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.004274, allocations: 27.91 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.004475, allocations: 163.5 kB / 0.7901 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004477, allocations: 1.031 kB / 0.7901 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004477, allocations: 0 / 0.7901 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.004481, allocations: 0 / 0.7901 GB, free: 9.418 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.0004614/0.004942, allocations: 490.7 kB / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.004974, allocations: 12.03 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.00516, allocations: 36.86 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005306, allocations: 132.5 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.005326, allocations: 8.375 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.005342, allocations: 8.375 kB / 0.7907 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005485, allocations: 83.56 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.005494, allocations: 192 / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.005507, allocations: 10.02 kB / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.005515, allocations: 7.938 kB / 0.7908 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.005559, allocations: 19.92 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.005896, allocations: 305 kB / 0.7912 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.355e-05/0.00599, allocations: 51.03 kB / 0.7912 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.00603, allocations: 31.7 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.00605, allocations: 5.156 kB / 0.7912 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.752e-05/0.006137, allocations: 80.97 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.006138, allocations: 4.875 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002558/0.006394, allocations: 137.5 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.006426, allocations: 63.39 kB / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.006509, allocations: 187 kB / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.006523, allocations: 33.7 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.006573, allocations: 139.1 kB / 0.7919 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.006593, allocations: 19.83 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.006634, allocations: 44.7 kB / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.00673, allocations: 0.4884 MB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.006756, allocations: 15.92 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.006807, allocations: 73.8 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.54e-05/0.006892, allocations: 104.3 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006894, allocations: 0 / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001223/0.007016, allocations: 127.6 kB / 0.7927 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007028, allocations: 8 kB / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.007032, allocations: 0 / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.007046, allocations: 4 kB / 0.7927 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.007124, allocations: 24.83 kB / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.007129, allocations: 0 / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.007163, allocations: 16.48 kB / 0.7927 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.007173, allocations: 8.531 kB / 0.7928 GB, free: 6.422 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 6.862e-05/0.007242, allocations: 167.7 kB / 0.7929 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.007261, allocations: 19.88 kB / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.007282, allocations: 8.969 kB / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007284, allocations: 0.5312 kB / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.007287, allocations: 0 / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.00729, allocations: 4.812 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.007572, allocations: 405.3 kB / 0.7933 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007573, allocations: 0.9375 kB / 0.7933 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.007592, allocations: 7.984 kB / 0.7933 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007593, allocations: 1.344 kB / 0.7933 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.007601, allocations: 0 / 0.7933 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.007602, allocations: 0 / 0.7933 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007603, allocations: 4 kB / 0.7933 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.007776, allocations: 280.6 kB / 0.7936 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-06/0.007783, allocations: 3.953 kB / 0.7936 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.007801, allocations: 18.23 kB / 0.7936 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.007846, allocations: 4 kB / 0.7936 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.007879, allocations: 3.984 kB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-06/0.007887, allocations: 4 kB / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.007934, allocations: 143.1 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007934, allocations: 0 / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002027/0.008137, allocations: 43.92 kB / 0.7938 GB, free: 5.266 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.0002572/0.008394, allocations: 180 kB / 0.794 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.00852, allocations: 68.16 kB / 0.7941 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.008522, allocations: 4 kB / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.008572, allocations: 40.09 kB / 0.7941 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.008763, allocations: 22.77 kB / 0.7941 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.009214, allocations: 208.8 kB / 0.7943 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.009248, allocations: 63.34 kB / 0.7944 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.009272, allocations: 10.06 kB / 0.7944 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.009295, allocations: 12.5 kB / 0.7944 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.009295, allocations: 0 / 0.7944 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of Templates: time 0.00338/0.01268, allocations: 1.773 MB / 0.7961 GB, free: 2.891 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: 5.201327804941684]