Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 249.3 MB / 261.8 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008282/0.0008283, allocations: 82.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.641e-05, allocations: 0 / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1981, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7271/0.9252, allocations: 131.8 MB / 1.021 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/0.9257, allocations: 79.56 kB / 1.021 GB, free: 2.836 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98: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.007655/0.9334, allocations: 2.056 MB / 1.023 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.896e-06/0.9334, allocations: 4 kB / 1.023 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.9334, allocations: 0 / 1.023 GB, free: 1.055 MB / 0.6355 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.0004219/0.9339, allocations: 345.7 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.9339, allocations: 8.031 kB / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.934, allocations: 0 / 1.023 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.9341, allocations: 171 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.9342, allocations: 0 / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.9342, allocations: 7.984 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.9343, allocations: 44.56 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.9343, allocations: 3.984 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.9344, allocations: 0 / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.9344, allocations: 0 / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.9344, allocations: 4 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.9346, allocations: 159 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.9347, allocations: 28.67 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.9348, allocations: 8.859 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.9348, allocations: 4 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.9349, allocations: 59.22 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.9349, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002014/0.9351, allocations: 60.16 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.9352, allocations: 55.41 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.9353, allocations: 92.55 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.9353, allocations: 29.83 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.9354, allocations: 84.14 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.9354, allocations: 11.47 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.9355, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.9356, allocations: 314.8 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.9356, allocations: 11.75 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.9357, allocations: 38.92 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.9357, allocations: 8 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9358, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001308/0.9359, allocations: 64.94 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9359, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9359, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.936, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.9361, allocations: 16.02 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.9361, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.9361, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.9362, allocations: 3.938 kB / 1.024 GB, free: 15.26 MB / 0.6511 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 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.307e-05/0.9363, allocations: 112.9 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.9363, allocations: 7.844 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.9363, allocations: 3.5 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.9363, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9363, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.9364, allocations: 7.984 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.9365, allocations: 165.3 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9365, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.9366, allocations: 0.875 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9366, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.9366, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.9366, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9366, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.9368, allocations: 90.81 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.9368, allocations: 85.06 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.9369, allocations: 6.875 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.9369, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.9369, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.937, allocations: 3.984 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.447e-05/0.937, allocations: 79.28 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.5e-07/0.937, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003862/0.9374, allocations: 39.06 kB / 1.025 GB, free: 14.59 MB / 0.6511 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,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004644/0.9379, allocations: 173.2 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.938, allocations: 27.61 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.938, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.9381, allocations: 15.38 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.9382, allocations: 1.875 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.9385, allocations: 69.55 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.9388, allocations: 0.677 MB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.9388, allocations: 4 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.9388, allocations: 7.438 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/0.9389, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.004508/0.9434, allocations: 1.131 MB / 1.027 GB, free: 12.48 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y