Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.009092/0.009092, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001486/0.001486, allocations: 192.9 kB / 16.67 MB, free: 5.887 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.695/2.695, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 63.91 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9862/0.9884, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002579/0.991, allocations: 1.2 MB / 1.222 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.9919, allocations: 408.5 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.9919, allocations: 0 / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.992, allocations: 0 / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.992, allocations: 4 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.9925, allocations: 95.64 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.9926, allocations: 15.98 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.9926, allocations: 0 / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.9927, allocations: 4 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.041e-05/0.9927, allocations: 15.92 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.9927, allocations: 0 / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.9929, allocations: 91.84 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.9929, allocations: 11.98 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.9929, allocations: 7.922 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.9931, allocations: 75.41 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9931, allocations: 4 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9931, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.9931, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 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.0004885/0.9936, allocations: 344.3 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.9937, allocations: 16.56 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.9937, allocations: 4.922 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.9938, allocations: 172.3 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.9938, allocations: 8.375 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.9938, allocations: 384 / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/0.9939, allocations: 34.25 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9939, allocations: 192 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.994, allocations: 11.92 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.994, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.994, allocations: 7.984 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.9942, allocations: 153.7 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.9942, allocations: 30.52 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.9943, allocations: 20.94 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.9943, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.9944, allocations: 55.36 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.9944, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002069/0.9946, allocations: 81.55 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.9947, allocations: 51.41 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.9947, allocations: 93.86 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.9947, allocations: 29.7 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.9948, allocations: 92.11 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.9948, allocations: 3.953 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.9948, allocations: 17.72 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9949, allocations: 319 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.995, allocations: 11.98 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.995, allocations: 31.44 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.9951, allocations: 47.36 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9951, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.398e-05/0.9952, allocations: 73.58 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.9952, allocations: 7.938 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9952, allocations: 0 / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9952, allocations: 4 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.9953, allocations: 7.938 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.9953, allocations: 11.92 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.9953, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9953, allocations: 4 kB / 1.224 GB, free: 14.23 MB / 0.9512 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 0.0001302/0.9954, allocations: 114.5 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.9955, allocations: 7.938 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.9955, allocations: 3.5 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9955, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9955, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9955, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.9956, allocations: 161.5 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9956, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.545e-05/0.9956, allocations: 4 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-05/0.9957, allocations: 7.922 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.9957, allocations: 8.172 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9957, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9957, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.9958, allocations: 89.06 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.9959, allocations: 81.09 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.9959, allocations: 3.938 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.9959, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.9959, allocations: 8 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.996, allocations: 8 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.994e-05/0.996, allocations: 75.28 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.996, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002446/0.9962, allocations: 31.92 kB / 1.225 GB, free: 13.54 MB / 0.9512 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.0003138/0.9966, allocations: 151.9 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.976e-05/0.9967, allocations: 36.02 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9967, allocations: 0 / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.9967, allocations: 15.88 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.9968, allocations: 10.17 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.9971, allocations: 104.8 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.9974, allocations: 0.6729 MB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.9974, allocations: 8.172 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.9974, allocations: 11.44 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.9974, allocations: 0 / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.003525/1.001, allocations: 0.9625 MB / 1.227 GB, free: 11.52 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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