Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009837, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00841/0.00841, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004096, allocations: 12 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8143, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001433/0.8158, allocations: 0.9331 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.8167, allocations: 398.8 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.8168, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.8168, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.8168, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.8173, allocations: 79.8 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.444e-05/0.8174, allocations: 11.98 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.8174, allocations: 4 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.8175, allocations: 8 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.854e-05/0.8175, allocations: 11.92 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.8175, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.8177, allocations: 91.84 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.8177, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.8178, allocations: 45.61 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.818, allocations: 71.89 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.818, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.462e-06/0.818, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.818, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 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.0004751/0.8185, allocations: 347.5 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.8185, allocations: 8.031 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.8186, allocations: 4.938 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.8187, allocations: 162.4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.8187, allocations: 8.297 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.8188, allocations: 8.375 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.8189, allocations: 34.25 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.8189, allocations: 192 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.8189, allocations: 7.938 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.8189, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.819, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.8191, allocations: 153.7 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.8192, allocations: 34.55 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.8193, allocations: 12.86 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.8193, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.8194, allocations: 59.48 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8194, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002173/0.8197, allocations: 69.61 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.8197, allocations: 59.33 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.8198, allocations: 97.77 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.8198, allocations: 33.64 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.8199, allocations: 80.14 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.8199, allocations: 16.02 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.8199, allocations: 17.7 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8201, allocations: 314.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.8201, allocations: 8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.8202, allocations: 39.41 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.719e-05/0.8202, allocations: 43.38 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.8202, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000104/0.8203, allocations: 73.55 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8204, allocations: 7.938 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8204, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.8204, allocations: 4 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.8205, allocations: 7.938 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.8205, allocations: 4.094 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.8205, allocations: 11.94 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.8205, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.896e-05/0.8206, allocations: 110.4 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.8207, allocations: 15.83 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.8207, allocations: 7.5 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8207, allocations: 0 / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8207, allocations: 0 / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8207, allocations: 0 / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.8209, allocations: 153.7 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8209, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.8209, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.8209, allocations: 3.938 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.8209, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8209, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8209, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.8211, allocations: 93.05 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.8211, allocations: 77.11 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.8211, allocations: 7.938 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.8212, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.8212, allocations: 7.984 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.8212, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.8213, allocations: 79.28 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8213, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000251/0.8215, allocations: 28 kB / 1.027 GB, free: 11.55 MB / 0.7794 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 () * Number of clocked 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 (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.0004202/0.8219, allocations: 174 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.8221, allocations: 23.94 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8221, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.8221, allocations: 11.98 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.8223, allocations: 7.531 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.8226, allocations: 110.8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.8228, allocations: 0.677 MB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.8229, allocations: 4 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.8229, allocations: 7.438 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8229, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.003583/0.8265, allocations: 0.9451 MB / 1.029 GB, free: 9.551 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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