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.005092/0.005092, allocations: 104.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.61/1.61, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.00152/0.00152, allocations: 75.89 kB / 0.7258 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2224, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002856/0.2254, allocations: 1.497 MB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2268, allocations: 0.7914 MB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.2269, allocations: 3.938 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.2269, allocations: 7.922 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.227, allocations: 11.88 kB / 0.8303 GB, free: 13.89 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.0006775/0.2277, allocations: 135.5 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2278, allocations: 95.7 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2279, allocations: 11.98 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2281, allocations: 51.78 kB / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.2281, allocations: 43.83 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.2282, allocations: 8 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.2284, allocations: 87.91 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.2284, allocations: 15.98 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.2285, allocations: 51.78 kB / 0.8308 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.2288, allocations: 155.6 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2288, allocations: 0 / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2288, allocations: 4 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2288, allocations: 0 / 0.8309 GB, free: 13.25 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.0007064/0.2295, allocations: 464.9 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2296, allocations: 8.031 kB / 0.8314 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.2296, allocations: 8.844 kB / 0.8314 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2297, allocations: 176.2 kB / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2298, allocations: 8.375 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.2298, allocations: 8.375 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.23, allocations: 85.89 kB / 0.8316 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.23, allocations: 7.984 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2301, allocations: 4 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2301, allocations: 0 / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.2302, allocations: 39.97 kB / 0.8317 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.2308, allocations: 332.6 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.231, allocations: 66.55 kB / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2311, allocations: 40.84 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2311, allocations: 4 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.2314, allocations: 99.39 kB / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.2314, allocations: 0 / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005635/0.2319, allocations: 193.4 kB / 0.8324 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.232, allocations: 51.41 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2321, allocations: 126.7 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2322, allocations: 29.7 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.2323, allocations: 100.4 kB / 0.8327 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.2323, allocations: 23.81 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.2324, allocations: 29.7 kB / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2326, allocations: 326.8 kB / 0.833 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.2327, allocations: 27.98 kB / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2328, allocations: 77.97 kB / 0.8331 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.233, allocations: 109.8 kB / 0.8332 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.233, allocations: 8 kB / 0.8333 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002789/0.2333, allocations: 133.4 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2333, allocations: 10.81 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2333, allocations: 0 / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2334, allocations: 4 kB / 0.8334 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.2335, allocations: 23.92 kB / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.2335, allocations: 0 / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.2336, allocations: 19.98 kB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2336, allocations: 8 kB / 0.8334 GB, free: 10.37 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 0.0001003/0.2337, allocations: 125 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.2337, allocations: 4 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.2337, allocations: 16.31 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2337, allocations: 0 / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2338, allocations: 3.984 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2338, allocations: 0 / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.2343, allocations: 434.3 kB / 0.834 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2343, allocations: 480 / 0.834 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.2343, allocations: 4 kB / 0.834 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2344, allocations: 0 / 0.834 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2344, allocations: 11.98 kB / 0.834 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2344, allocations: 0 / 0.834 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2344, allocations: 7.875 kB / 0.834 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.2348, allocations: 247.3 kB / 0.8343 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.2348, allocations: 88.95 kB / 0.8343 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.2348, allocations: 0 / 0.8343 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.235, allocations: 11.98 kB / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.235, allocations: 7.938 kB / 0.8344 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.235, allocations: 7.984 kB / 0.8344 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.2351, allocations: 98.39 kB / 0.8345 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2351, allocations: 0 / 0.8345 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003303/0.2354, allocations: 44 kB / 0.8345 GB, free: 9.188 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.0003411/0.2358, allocations: 162.6 kB / 0.8347 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.2361, allocations: 96.17 kB / 0.8348 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2361, allocations: 3.938 kB / 0.8348 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2362, allocations: 51.91 kB / 0.8348 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2365, allocations: 14.33 kB / 0.8348 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.237, allocations: 204.2 kB / 0.835 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.2373, allocations: 0.7002 MB / 0.8357 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.2373, allocations: 4 kB / 0.8357 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.2373, allocations: 15.42 kB / 0.8357 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2374, allocations: 0 / 0.8357 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of Templates: time 0.004789/0.2421, allocations: 1.708 MB / 0.8374 GB, free: 6.234 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)