Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 196.5 kB / 16.66 MB, free: 6.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.652/1.652, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 71.91 kB / 0.7257 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2102, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002384/0.2126, allocations: 1.494 MB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2139, allocations: 0.7953 MB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.2139, allocations: 0 / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.214, allocations: 3.938 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.2141, allocations: 19.84 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 NFTyping.typeClassSections: time 0.0005833/0.2146, allocations: 135.4 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2148, allocations: 91.77 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.2149, allocations: 12 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.215, allocations: 47.83 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.2151, allocations: 51.81 kB / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.2151, allocations: 8 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.2153, allocations: 87.86 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.2153, allocations: 19.97 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.2154, allocations: 39.8 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.2156, allocations: 151.7 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2156, allocations: 0 / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2156, allocations: 7.938 kB / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2156, allocations: 0 / 0.8309 GB, free: 13.26 MB / 0.6544 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.0005998/0.2162, allocations: 466.5 kB / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2163, allocations: 8.031 kB / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.2163, allocations: 8.844 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2164, allocations: 179.7 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.2165, allocations: 12.38 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.2165, allocations: 8.359 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.2167, allocations: 85.95 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2167, allocations: 4 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2168, allocations: 0 / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2168, allocations: 0 / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.2169, allocations: 51.89 kB / 0.8317 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.2175, allocations: 324.7 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.2176, allocations: 62.56 kB / 0.8321 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.2178, allocations: 44.83 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.2178, allocations: 4 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.218, allocations: 103.5 kB / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.218, allocations: 0 / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004803/0.2185, allocations: 185.5 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2185, allocations: 59.39 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.2186, allocations: 125.8 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2187, allocations: 29.7 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.2187, allocations: 92.36 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2188, allocations: 27.66 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.2188, allocations: 29.7 kB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2189, allocations: 326.8 kB / 0.833 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.219, allocations: 27.98 kB / 0.8331 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2191, allocations: 69.98 kB / 0.8331 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2193, allocations: 113.8 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2193, allocations: 4 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002442/0.2196, allocations: 137.4 kB / 0.8334 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2196, allocations: 8 kB / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2196, allocations: 0 / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2196, allocations: 4 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.2197, allocations: 19.92 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2197, allocations: 0 / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.2198, allocations: 16 kB / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2198, allocations: 12 kB / 0.8334 GB, free: 10.39 MB / 0.6544 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 8.782e-05/0.2199, allocations: 125.7 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.2199, allocations: 4 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.22, allocations: 12.38 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.22, allocations: 4 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.22, allocations: 0 / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.22, allocations: 0 / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.2205, allocations: 446.6 kB / 0.834 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2205, allocations: 0 / 0.834 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.2206, allocations: 7.984 kB / 0.834 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2206, allocations: 0 / 0.834 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2206, allocations: 4 kB / 0.834 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2206, allocations: 3.984 kB / 0.834 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2206, allocations: 3.938 kB / 0.834 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.221, allocations: 247.3 kB / 0.8342 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.221, allocations: 92.94 kB / 0.8343 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2211, allocations: 0 / 0.8343 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2212, allocations: 4 kB / 0.8343 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.2212, allocations: 15.92 kB / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.2213, allocations: 4 kB / 0.8344 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.2213, allocations: 91.27 kB / 0.8344 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2213, allocations: 0 / 0.8344 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003091/0.2216, allocations: 47.98 kB / 0.8345 GB, free: 9.195 MB / 0.6544 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.0003207/0.222, allocations: 178 kB / 0.8347 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.2222, allocations: 88.14 kB / 0.8347 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2222, allocations: 4.062 kB / 0.8347 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.2224, allocations: 51.91 kB / 0.8348 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2227, allocations: 11.98 kB / 0.8348 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.2231, allocations: 209.3 kB / 0.835 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2233, allocations: 0.6963 MB / 0.8357 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.2234, allocations: 4 kB / 0.8357 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.2234, allocations: 15.44 kB / 0.8357 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2234, allocations: 0 / 0.8357 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of Templates: time 0.004339/0.2277, allocations: 1.711 MB / 0.8374 GB, free: 6.238 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)