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.0009945/0.0009945, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001018/0.001018, allocations: 169 kB / 24.28 MB, free: 280 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 1.052/1.052, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.801/1.801, allocations: 359 MB / 0.6055 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 2.104e-06/2.104e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.325e-05, allocations: 9.484 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003031/0.003064, allocations: 1.556 MB / 0.7886 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.004554, allocations: 0.8079 MB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.004623, allocations: 1.625 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.004663, allocations: 3.938 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.004728, allocations: 19.8 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.005412, allocations: 148.6 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.005562, allocations: 99.69 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.00567, allocations: 12.67 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.005845, allocations: 63.81 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.005919, allocations: 32.8 kB / 0.7897 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.005943, allocations: 8 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.006221, allocations: 144.3 kB / 0.7899 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.00625, allocations: 19.92 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.006298, allocations: 25.56 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.006592, allocations: 171.4 kB / 0.7901 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006595, allocations: 0 / 0.7901 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006596, allocations: 0 / 0.7901 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.0066, allocations: 0.75 kB / 0.7901 GB, free: 9.719 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.0006112/0.007212, allocations: 487.5 kB / 0.7906 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.007253, allocations: 11.44 kB / 0.7906 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.007569, allocations: 32.88 kB / 0.7906 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.00776, allocations: 128.5 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.007788, allocations: 8.375 kB / 0.7907 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.007808, allocations: 8.312 kB / 0.7907 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.008015, allocations: 94.83 kB / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.008023, allocations: 192 / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.008038, allocations: 1.094 kB / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.008048, allocations: 3.938 kB / 0.7908 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.008115, allocations: 17.64 kB / 0.7909 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.00861, allocations: 323.5 kB / 0.7912 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.008742, allocations: 48.42 kB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.008803, allocations: 23.67 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.008822, allocations: 0 / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.008959, allocations: 93.55 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.00896, allocations: 0 / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003786/0.009339, allocations: 142.9 kB / 0.7915 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.009383, allocations: 55.41 kB / 0.7915 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.009508, allocations: 181.9 kB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.009529, allocations: 31.14 kB / 0.7917 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.009596, allocations: 151 kB / 0.7919 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.009622, allocations: 19.84 kB / 0.7919 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.009678, allocations: 39.36 kB / 0.7919 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.009821, allocations: 0.4895 MB / 0.7924 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.009864, allocations: 11.98 kB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.009947, allocations: 84.19 kB / 0.7925 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01008, allocations: 107.6 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.01008, allocations: 4.812 kB / 0.7926 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001993/0.01028, allocations: 115.3 kB / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.0103, allocations: 4 kB / 0.7927 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01031, allocations: 4 kB / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01032, allocations: 0 / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01044, allocations: 21.14 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01045, allocations: 4 kB / 0.7927 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.01051, allocations: 15.94 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.01052, allocations: 4.781 kB / 0.7928 GB, free: 6.734 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 0.0001042/0.01062, allocations: 176.3 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.01065, allocations: 11.89 kB / 0.7929 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.01068, allocations: 12.44 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01069, allocations: 4.922 kB / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.01069, allocations: 0 / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01069, allocations: 1.25 kB / 0.793 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.01114, allocations: 401.4 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01114, allocations: 4 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.01118, allocations: 0.9688 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01118, allocations: 4 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.0112, allocations: 7.984 kB / 0.7933 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.0112, allocations: 2.312 kB / 0.7934 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0112, allocations: 0 / 0.7934 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.01148, allocations: 279.7 kB / 0.7936 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.01149, allocations: 7.953 kB / 0.7936 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01152, allocations: 0 / 0.7936 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/0.01161, allocations: 7.984 kB / 0.7936 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.01165, allocations: 15.38 kB / 0.7936 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.01167, allocations: 7.984 kB / 0.7937 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.274e-05/0.01173, allocations: 139.1 kB / 0.7938 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.01173, allocations: 3.938 kB / 0.7938 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003642/0.0121, allocations: 39.94 kB / 0.7938 GB, free: 5.574 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.0004142/0.01251, allocations: 188.2 kB / 0.794 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.0127, allocations: 64.59 kB / 0.7941 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0127, allocations: 0.5625 kB / 0.7941 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.01277, allocations: 35.67 kB / 0.7941 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01311, allocations: 26.94 kB / 0.7941 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.0138, allocations: 207.8 kB / 0.7943 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.711e-05/0.01385, allocations: 59.94 kB / 0.7944 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.01388, allocations: 9.391 kB / 0.7944 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.01392, allocations: 14.38 kB / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01392, allocations: 0 / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of Templates: time 0.003732/0.01765, allocations: 1.769 MB / 0.7961 GB, free: 3.207 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.152839747956023]