Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.001366/0.001366, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001608/0.001608, allocations: 161 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 1.035/1.035, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.787/1.787, 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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.69e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001834/0.00185, allocations: 1.562 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.002901, allocations: 0.8116 MB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.002951, allocations: 1.219 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.002982, allocations: 7.875 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.003048, allocations: 16.47 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.003579, allocations: 156.8 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003692, allocations: 91.7 kB / 0.7896 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.003766, allocations: 11.98 kB / 0.7897 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.0039, allocations: 72.59 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.003954, allocations: 31.89 kB / 0.7898 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.00397, allocations: 8.562 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.004179, allocations: 136.4 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.004202, allocations: 19.97 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.004241, allocations: 32.8 kB / 0.7899 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.004452, allocations: 159.5 kB / 0.7901 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004453, allocations: 4.594 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004454, allocations: 0 / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.004458, allocations: 0.7188 kB / 0.7901 GB, free: 9.395 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.000462/0.00492, allocations: 497.1 kB / 0.7906 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.004954, allocations: 12.03 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.005147, allocations: 32.88 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.005286, allocations: 129.9 kB / 0.7907 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.005305, allocations: 4.375 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.00532, allocations: 8.375 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.005475, allocations: 94.77 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.005481, allocations: 1.781 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005492, allocations: 384 / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.0055, allocations: 7.938 kB / 0.7909 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.005546, allocations: 19.98 kB / 0.7909 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.005895, allocations: 308.6 kB / 0.7912 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.005994, allocations: 54.36 kB / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.006034, allocations: 27.67 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.006048, allocations: 4 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.665e-05/0.006134, allocations: 80.95 kB / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 9.11e-07/0.006135, allocations: 0 / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002469/0.006382, allocations: 141.5 kB / 0.7915 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.006414, allocations: 59.34 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.006505, allocations: 189.5 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.006518, allocations: 29.7 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.006571, allocations: 143.6 kB / 0.7919 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.00659, allocations: 20.94 kB / 0.7919 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.00663, allocations: 39.36 kB / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.006746, allocations: 0.4923 MB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.006773, allocations: 16.58 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.006827, allocations: 73.8 kB / 0.7925 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.006919, allocations: 111.6 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006921, allocations: 1.156 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001389/0.00706, allocations: 110.4 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.007073, allocations: 4 kB / 0.7927 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.007078, allocations: 9.562 kB / 0.7927 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.007092, allocations: 4 kB / 0.7927 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.007165, allocations: 23.92 kB / 0.7927 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.00717, allocations: 3.938 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.007203, allocations: 14.27 kB / 0.7928 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.007215, allocations: 11.98 kB / 0.7928 GB, free: 6.398 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.47e-05/0.00729, allocations: 171.5 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.007306, allocations: 15.89 kB / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.007325, allocations: 11.88 kB / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007326, allocations: 0 / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.00733, allocations: 0 / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007334, allocations: 3.984 kB / 0.793 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.007625, allocations: 405.4 kB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007626, allocations: 0 / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.007645, allocations: 4 kB / 0.7934 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.007646, allocations: 0 / 0.7934 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.007658, allocations: 7.984 kB / 0.7934 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.007659, allocations: 0.6875 kB / 0.7934 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.00766, allocations: 0 / 0.7934 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.007836, allocations: 284.2 kB / 0.7936 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.007842, allocations: 4.516 kB / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.007859, allocations: 4 kB / 0.7936 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.007909, allocations: 8.547 kB / 0.7937 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.007939, allocations: 1.406 kB / 0.7937 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.00795, allocations: 11.98 kB / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.008003, allocations: 139.1 kB / 0.7938 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008003, allocations: 4 kB / 0.7938 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002091/0.008212, allocations: 40.45 kB / 0.7938 GB, free: 5.246 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.000272/0.008484, allocations: 185.1 kB / 0.794 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.008611, allocations: 64.41 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008613, allocations: 0.9375 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.008662, allocations: 43.55 kB / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.008858, allocations: 29.25 kB / 0.7941 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.00931, allocations: 195.3 kB / 0.7943 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.009345, allocations: 61.44 kB / 0.7944 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.00937, allocations: 4.734 kB / 0.7944 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.009395, allocations: 16.48 kB / 0.7944 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.009396, allocations: 4 kB / 0.7944 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of Templates: time 0.003359/0.01275, allocations: 1.936 MB / 0.7963 GB, free: 2.715 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.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.101168863009661]