Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.0009476/0.0009476, allocations: 78.66 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.000931/0.000931, allocations: 177 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.9036/0.9036, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.736/1.736, 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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.46e-05, allocations: 3.125 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003079/0.003104, allocations: 1.55 MB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.004541, allocations: 0.8088 MB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.004619, allocations: 0 / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.004653, allocations: 3.938 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.00472, allocations: 12.5 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.00542, allocations: 152.7 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.005541, allocations: 79.7 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.00563, allocations: 12.77 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.005777, allocations: 47.95 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.00583, allocations: 32.45 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.005851, allocations: 4.75 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.006069, allocations: 139.7 kB / 0.7903 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.006092, allocations: 24.81 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.00612, allocations: 19.98 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.006312, allocations: 155.4 kB / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006313, allocations: 4.656 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.006314, allocations: 0 / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.006318, allocations: 0.7188 kB / 0.7905 GB, free: 9.191 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004339/0.006752, allocations: 485.1 kB / 0.791 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.006791, allocations: 8.031 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.006976, allocations: 28.88 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.007122, allocations: 141.7 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.007137, allocations: 4.375 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.007147, allocations: 8.375 kB / 0.7911 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.007259, allocations: 64.52 kB / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.007267, allocations: 192 / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.007277, allocations: 12.36 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.007288, allocations: 7.938 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.007312, allocations: 13.11 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.007576, allocations: 268.3 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/0.007639, allocations: 46.23 kB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.007666, allocations: 15.67 kB / 0.7915 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.007689, allocations: 4 kB / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.4e-05/0.007783, allocations: 73.08 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.007785, allocations: 0 / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002313/0.008016, allocations: 101.5 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.008054, allocations: 55.41 kB / 0.7918 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.008171, allocations: 182.4 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.008187, allocations: 29.7 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.008256, allocations: 139.4 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.008282, allocations: 28.3 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.008332, allocations: 35.34 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.008474, allocations: 497.3 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.008501, allocations: 11.98 kB / 0.7926 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.008558, allocations: 62.11 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.149e-05/0.008649, allocations: 83.89 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.008652, allocations: 1.156 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001482/0.0088, allocations: 94.41 kB / 0.7929 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.008816, allocations: 4 kB / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.008823, allocations: 1.719 kB / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.008839, allocations: 4 kB / 0.7929 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.008928, allocations: 19.98 kB / 0.7929 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.008933, allocations: 7.938 kB / 0.7929 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.00898, allocations: 10.17 kB / 0.7929 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.008991, allocations: 4 kB / 0.7929 GB, free: 6.449 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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 9.574e-05/0.009087, allocations: 167.5 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.009108, allocations: 11.89 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.009135, allocations: 8.438 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.009139, allocations: 4.5 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.009141, allocations: 3.438 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.009145, allocations: 0 / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.009495, allocations: 330 kB / 0.7934 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.009499, allocations: 3.938 kB / 0.7934 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.009531, allocations: 4 kB / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.009533, allocations: 0 / 0.7934 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.009542, allocations: 4 kB / 0.7934 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009544, allocations: 0 / 0.7934 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.009545, allocations: 0 / 0.7934 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.009747, allocations: 244.2 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.009767, allocations: 23.81 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.00978, allocations: 0.5 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.009858, allocations: 4.562 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.009892, allocations: 8.547 kB / 0.7937 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.009899, allocations: 48 / 0.7937 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.009958, allocations: 136.6 kB / 0.7938 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009958, allocations: 0 / 0.7938 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003913/0.01035, allocations: 39.92 kB / 0.7939 GB, free: 5.426 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004107/0.01076, allocations: 173.4 kB / 0.794 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01089, allocations: 56.47 kB / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01089, allocations: 0.8125 kB / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.01094, allocations: 27.61 kB / 0.7941 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.01123, allocations: 14.56 kB / 0.7941 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.01178, allocations: 191.7 kB / 0.7943 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.01182, allocations: 60.22 kB / 0.7944 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.01186, allocations: 10.23 kB / 0.7944 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.01193, allocations: 78.2 kB / 0.7945 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.01193, allocations: 0 / 0.7945 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of Templates: time 0.004488/0.01641, allocations: 1.747 MB / 0.7962 GB, free: 3.082 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.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.833443432115018]