Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 109.4 kB / 15.69 MB, free: 128 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.001101/0.001101, allocations: 188 kB / 16.62 MB, free: 6.613 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.396/1.396, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.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.001387/0.001387, allocations: 68.81 kB / 0.6718 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2396, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002243/0.2419, allocations: 1.217 MB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.2427, allocations: 419.4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.2428, allocations: 3.938 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.2428, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.381e-05/0.2429, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/linear1D.mo:2:1-30:13:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.linear1D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.2434, allocations: 115.6 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.992e-05/0.2435, allocations: 15.92 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.2435, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.2436, allocations: 11.98 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/0.2436, allocations: 7.938 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2436, allocations: 0 / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.2438, allocations: 103.8 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.2439, allocations: 3.984 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.2439, allocations: 11.94 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.2441, allocations: 99.8 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2441, allocations: 4 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2441, allocations: 0 / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2441, allocations: 0 / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005469/0.2447, allocations: 383.8 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2447, allocations: 8.031 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.2448, allocations: 30.75 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.2448, allocations: 4.938 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.245, allocations: 172.2 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.245, allocations: 8.312 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.245, allocations: 8.375 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2451, allocations: 38.25 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2452, allocations: 3.938 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2452, allocations: 0 / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2452, allocations: 0 / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.2452, allocations: 11.98 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.2456, allocations: 245 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.2457, allocations: 42.45 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.2457, allocations: 20.94 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.2457, allocations: 0 / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.2459, allocations: 55.41 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2459, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002109/0.2461, allocations: 77.61 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2462, allocations: 59.41 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.2463, allocations: 101.8 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2463, allocations: 29.64 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.2463, allocations: 80.14 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2464, allocations: 19.75 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.2464, allocations: 21.7 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2465, allocations: 318.8 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.2466, allocations: 8 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.2466, allocations: 35.42 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.2467, allocations: 51.36 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2467, allocations: 3.938 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.784e-05/0.2468, allocations: 69.66 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2468, allocations: 4 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2468, allocations: 4 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2468, allocations: 0 / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.2469, allocations: 15.92 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2469, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.2469, allocations: 11.91 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.247, allocations: 4 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.893e-05/0.247, allocations: 109.8 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.2471, allocations: 4 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.2471, allocations: 11.59 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2471, allocations: 0 / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2471, allocations: 3.938 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2471, allocations: 4.266 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.2474, allocations: 302.5 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2474, allocations: 0 / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.2474, allocations: 4 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.2474, allocations: 3.984 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2474, allocations: 3.984 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2474, allocations: 4 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2474, allocations: 0 / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.2476, allocations: 171.6 kB / 0.788 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.2476, allocations: 85.09 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2477, allocations: 0 / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.2477, allocations: 0 / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.2477, allocations: 4 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2477, allocations: 4 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.2478, allocations: 91.2 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2478, allocations: 0 / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002943/0.2481, allocations: 35.94 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006494/0.2487, allocations: 0.7674 MB / 0.789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.893e-05/0.2489, allocations: 31.98 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2489, allocations: 3.938 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.2489, allocations: 19.92 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.2491, allocations: 0 / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.2501, allocations: 1.272 MB / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.2504, allocations: 0.6845 MB / 0.7909 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.2504, allocations: 4 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.2505, allocations: 15.42 kB / 0.791 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.2505, allocations: 0 / 0.791 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2678, allocations: 1.966 MB / 0.7929 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.278, allocations: 26.34 kB / 0.7929 GB, free: 3.328 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)