Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.855/3.855, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002327/0.002327, allocations: 175.7 kB / 326.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.793/3.793, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 91.72 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007429/0.0007431, allocations: 12.88 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3123, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.648, allocations: 133.6 MB / 1.03 GB, free: 11.8 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000508/0.6486, allocations: 91.94 kB / 1.03 GB, free: 11.71 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.02137/0.67, allocations: 3.082 MB / 1.033 GB, free: 8.621 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.006e-06/0.67, allocations: 0 / 1.033 GB, free: 8.621 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.6701, allocations: 4 kB / 1.033 GB, free: 8.617 MB / 0.6824 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.001067/0.6711, allocations: 466.5 kB / 1.033 GB, free: 8.098 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/0.6712, allocations: 12.02 kB / 1.034 GB, free: 8.086 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.6713, allocations: 8.844 kB / 1.034 GB, free: 8.078 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.6716, allocations: 168.3 kB / 1.034 GB, free: 7.875 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.6716, allocations: 8.375 kB / 1.034 GB, free: 7.867 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.6717, allocations: 4.375 kB / 1.034 GB, free: 7.863 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.6722, allocations: 94.19 kB / 1.034 GB, free: 7.766 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6722, allocations: 192 / 1.034 GB, free: 7.766 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.6723, allocations: 3.938 kB / 1.034 GB, free: 7.762 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.6723, allocations: 4 kB / 1.034 GB, free: 7.758 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.6727, allocations: 51.91 kB / 1.034 GB, free: 7.707 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.6739, allocations: 332.7 kB / 1.034 GB, free: 7.332 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.6743, allocations: 70.48 kB / 1.034 GB, free: 7.254 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.6746, allocations: 40.84 kB / 1.034 GB, free: 7.211 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.6747, allocations: 11.94 kB / 1.034 GB, free: 7.199 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.6751, allocations: 99.3 kB / 1.034 GB, free: 7.09 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=9): time 4.769e-06/0.6752, allocations: 0 / 1.034 GB, free: 7.09 MB / 0.6824 GB Notification: Performance of matching and sorting (n=9): time 0.001131/0.6763, allocations: 197.5 kB / 1.035 GB, free: 6.891 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.6765, allocations: 59.41 kB / 1.035 GB, free: 6.82 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.6768, allocations: 127.4 kB / 1.035 GB, free: 6.688 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.6768, allocations: 33.7 kB / 1.035 GB, free: 6.648 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.677, allocations: 88.36 kB / 1.035 GB, free: 6.555 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.677, allocations: 19.72 kB / 1.035 GB, free: 6.535 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.6771, allocations: 4 kB / 1.035 GB, free: 6.531 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.6773, allocations: 322.8 kB / 1.035 GB, free: 6.207 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.6775, allocations: 27.98 kB / 1.035 GB, free: 6.18 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.6778, allocations: 81.92 kB / 1.035 GB, free: 6.078 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.6781, allocations: 43.92 kB / 1.035 GB, free: 6.035 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.6781, allocations: 0 / 1.035 GB, free: 6.035 MB / 0.6824 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006624/0.6788, allocations: 141.5 kB / 1.035 GB, free: 5.891 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.6789, allocations: 4 kB / 1.035 GB, free: 5.887 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.6789, allocations: 4 kB / 1.035 GB, free: 5.883 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.6789, allocations: 4 kB / 1.035 GB, free: 5.879 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.6791, allocations: 19.92 kB / 1.035 GB, free: 5.859 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.6792, allocations: 4 kB / 1.035 GB, free: 5.855 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.6794, allocations: 11.92 kB / 1.036 GB, free: 5.844 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.6794, allocations: 12 kB / 1.036 GB, free: 5.832 MB / 0.6824 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.6797, allocations: 129.9 kB / 1.036 GB, free: 5.695 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.6798, allocations: 7.906 kB / 1.036 GB, free: 5.688 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.6798, allocations: 12.38 kB / 1.036 GB, free: 5.676 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6798, allocations: 0 / 1.036 GB, free: 5.676 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6799, allocations: 0 / 1.036 GB, free: 5.676 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.6799, allocations: 3.984 kB / 1.036 GB, free: 5.672 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.6813, allocations: 438.5 kB / 1.036 GB, free: 5.188 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6813, allocations: 480 / 1.036 GB, free: 5.188 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.6814, allocations: 8 kB / 1.036 GB, free: 5.18 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.6815, allocations: 4 kB / 1.036 GB, free: 5.176 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.6815, allocations: 3.984 kB / 1.036 GB, free: 5.172 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.6815, allocations: 0 / 1.036 GB, free: 5.172 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.6816, allocations: 3.938 kB / 1.036 GB, free: 5.168 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.6825, allocations: 263.2 kB / 1.036 GB, free: 4.895 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.6826, allocations: 81.02 kB / 1.036 GB, free: 4.797 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.6827, allocations: 8 kB / 1.036 GB, free: 4.789 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.6829, allocations: 4 kB / 1.036 GB, free: 4.785 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.683, allocations: 7.984 kB / 1.036 GB, free: 4.777 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.6831, allocations: 15.92 kB / 1.036 GB, free: 4.762 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001272/0.6832, allocations: 97.27 kB / 1.037 GB, free: 4.668 MB / 0.6824 GB Notification: Performance of sort global known variables: time 7.41e-07/0.6832, allocations: 0 / 1.037 GB, free: 4.668 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0008739/0.6841, allocations: 51.94 kB / 1.037 GB, free: 4.617 MB / 0.6824 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,bli.occ,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007684/0.6849, allocations: 177.6 kB / 1.037 GB, free: 4.453 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0006773/0.6856, allocations: 99.97 kB / 1.037 GB, free: 4.355 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.6856, allocations: 3.938 kB / 1.037 GB, free: 4.352 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.686, allocations: 51.92 kB / 1.037 GB, free: 4.301 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.6867, allocations: 16.3 kB / 1.037 GB, free: 4.285 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.6884, allocations: 233.1 kB / 1.037 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.6899, allocations: 0.6965 MB / 1.038 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.6903, allocations: 4.188 kB / 1.038 GB, free: 3.297 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.6906, allocations: 11.44 kB / 1.038 GB, free: 3.285 MB / 0.6824 GB Notification: Performance of SimCode: time 4.709e-06/0.6907, allocations: 0 / 1.038 GB, free: 3.285 MB / 0.6824 GB Notification: Performance of Templates: time 0.009184/0.6999, allocations: 1.751 MB / 1.04 GB, free: 1.547 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)