Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.001046/0.00105, 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.001102/0.001102, allocations: 186.9 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.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.886/1.886, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001438/0.001438, allocations: 66.59 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2335, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002295/0.2358, allocations: 1.236 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.2367, allocations: 455.3 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.2367, allocations: 3.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.2368, allocations: 3.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.2368, allocations: 4 kB / 0.7853 GB, free: 11.54 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/logit1DQuadratic.mo:2:1-35:21:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1DQuadratic' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.2375, allocations: 115.6 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.2376, allocations: 27.92 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.2376, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.684e-05/0.2377, allocations: 7.984 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.2377, allocations: 15.92 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2377, allocations: 0 / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2379, allocations: 99.89 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.238, allocations: 11.94 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.238, allocations: 15.86 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.2382, allocations: 95.75 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2382, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2382, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2383, allocations: 4 kB / 0.7856 GB, free: 11.16 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.0005246/0.2388, allocations: 385.4 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2388, allocations: 12.03 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.2389, allocations: 34.73 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2389, allocations: 8.844 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2391, allocations: 160.4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2391, allocations: 384 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.2391, allocations: 8.375 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2392, allocations: 50.17 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2393, allocations: 3.938 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2393, allocations: 0 / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2393, allocations: 0 / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.2393, allocations: 8 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.2397, allocations: 244.9 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.2398, allocations: 38.5 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.2399, allocations: 24.94 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.2399, allocations: 7.922 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.24, allocations: 59.41 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.2401, allocations: 0 / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002286/0.2403, allocations: 77.58 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.2404, allocations: 55.39 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.2404, allocations: 109.8 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2405, allocations: 25.7 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.2405, allocations: 92.02 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2405, allocations: 11.81 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.2406, allocations: 25.7 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2407, allocations: 314.8 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.2408, allocations: 8 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.2408, allocations: 39.42 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.919e-05/0.2409, allocations: 51.36 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2409, allocations: 3.938 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001079/0.241, allocations: 65.62 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.241, allocations: 8 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.241, allocations: 64 / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2411, allocations: 4 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.2411, allocations: 11.98 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2412, allocations: 7.938 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.2412, allocations: 0 / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2412, allocations: 7.938 kB / 0.7875 GB, free: 8.965 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 8.666e-05/0.2413, allocations: 114.4 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.2413, allocations: 7.906 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.2414, allocations: 7.969 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2414, allocations: 4 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2414, allocations: 4 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2414, allocations: 3.984 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.2416, allocations: 298.5 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2417, allocations: 0.5625 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.2417, allocations: 7.984 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2417, allocations: 0 / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2417, allocations: 4 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2417, allocations: 0 / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2417, allocations: 0 / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.2419, allocations: 167.4 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.2419, allocations: 89.03 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.242, allocations: 0 / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.559e-05/0.242, allocations: 0 / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.242, allocations: 4.094 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.2421, allocations: 7.984 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.2421, allocations: 87.2 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2421, allocations: 3.938 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003354/0.2425, allocations: 43.94 kB / 0.7883 GB, free: 8.023 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.0006921/0.2432, allocations: 0.7629 MB / 0.7891 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.2433, allocations: 40.23 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2433, allocations: 0 / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.2433, allocations: 12 kB / 0.7891 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2436, allocations: 6.406 kB / 0.7891 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.2448, allocations: 1.307 MB / 0.7904 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2451, allocations: 0.6807 MB / 0.7911 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.2452, allocations: 3.984 kB / 0.7911 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.2452, allocations: 15.38 kB / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.2452, allocations: 0 / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.2643, allocations: 2.067 MB / 0.7931 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.404, allocations: 4.438 kB / 0.7931 GB, free: 3.094 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)