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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002643/0.002643, allocations: 193.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 68.08 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8127, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00231/0.815, allocations: 1.214 MB / 1.275 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.8159, allocations: 410.6 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.8159, allocations: 3.938 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.8159, allocations: 0 / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.8159, allocations: 0 / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.8164, allocations: 103.7 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.8165, allocations: 15.97 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.8165, allocations: 4 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.633e-05/0.8166, allocations: 11.98 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.799e-05/0.8166, allocations: 3.938 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.8166, allocations: 4 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.8168, allocations: 99.81 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.8169, allocations: 7.984 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.8169, allocations: 4 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.8171, allocations: 78.44 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8171, allocations: 4 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8171, allocations: 4 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8171, allocations: 0 / 1.276 GB, free: 2.461 MB / 0.9669 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.0005169/0.8176, allocations: 351.3 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.8176, allocations: 12.03 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.8177, allocations: 0.9375 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.8178, allocations: 164.3 kB / 1.276 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.8178, allocations: 8.312 kB / 1.276 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.8178, allocations: 384 / 1.276 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.8179, allocations: 42.23 kB / 1.276 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8179, allocations: 4.172 kB / 1.276 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.8179, allocations: 11.94 kB / 1.276 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.818, allocations: 0 / 1.276 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.818, allocations: 0 / 1.276 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.8182, allocations: 153.7 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.8182, allocations: 30.55 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.8183, allocations: 12.86 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.8183, allocations: 4 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.8184, allocations: 55.45 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.8184, allocations: 0 / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002007/0.8186, allocations: 73.55 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.8186, allocations: 51.41 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.8187, allocations: 101.8 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.8187, allocations: 29.83 kB / 1.277 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.8188, allocations: 88.12 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.8188, allocations: 7.953 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.8188, allocations: 17.72 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.819, allocations: 318.8 kB / 1.277 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.819, allocations: 7.938 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.819, allocations: 35.42 kB / 1.277 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/0.8191, allocations: 47.38 kB / 1.277 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8191, allocations: 0 / 1.277 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001267/0.8192, allocations: 73.52 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.8193, allocations: 7.938 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.8193, allocations: 96 / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.8193, allocations: 15.98 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.8194, allocations: 4 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8194, allocations: 4 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.8194, allocations: 0 / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.8194, allocations: 4 kB / 1.278 GB, free: 0.5078 MB / 0.9669 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 8.171e-05/0.8195, allocations: 109.8 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.8195, allocations: 7.938 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.8195, allocations: 7.438 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8195, allocations: 7.984 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8195, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8195, allocations: 240 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.8197, allocations: 153.7 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.8197, allocations: 0 / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.8197, allocations: 11.92 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8197, allocations: 3.938 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.8197, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8197, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8197, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.8198, allocations: 97.06 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.8199, allocations: 81.05 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.8199, allocations: 3.938 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.8199, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.8199, allocations: 7.984 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.8199, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.82, allocations: 75.28 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.82, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002467/0.8202, allocations: 36.03 kB / 1.278 GB, free: 15.82 MB / 0.9825 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.0003549/0.8206, allocations: 154.7 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.8207, allocations: 27.98 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8207, allocations: 0 / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.8207, allocations: 16.11 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.8209, allocations: 8 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.8211, allocations: 108.8 kB / 1.278 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.8214, allocations: 0.6768 MB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.8214, allocations: 3.938 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.8214, allocations: 11.44 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.8214, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of Templates: time 0.003577/0.825, allocations: 0.9904 MB / 1.28 GB, free: 13.79 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile [Timeout 300] (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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:seed,t0,time,y [Calling sys.exit(0), Time elapsed: 8.820617916993797]