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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 79.67 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 166.1 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.823/2.823, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.394e-06/2.394e-06, allocations: 0 / 0.9509 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.49e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.003547/0.003582, allocations: 1.233 MB / 0.9521 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.004717, allocations: 402.6 kB / 0.9525 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.004749, allocations: 0 / 0.9525 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.004776, allocations: 3.938 kB / 0.9525 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.925e-05/0.004815, allocations: 0 / 0.9525 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.005683, allocations: 107.6 kB / 0.9526 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.005775, allocations: 19.92 kB / 0.9526 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/0.005834, allocations: 0 / 0.9526 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.753e-05/0.005882, allocations: 7.984 kB / 0.9527 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.685e-05/0.005919, allocations: 7.984 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005938, allocations: 0 / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.006308, allocations: 135.7 kB / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.006325, allocations: 0 / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.006364, allocations: 7.938 kB / 0.9528 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.006678, allocations: 107.6 kB / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.006684, allocations: 4 kB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006685, allocations: 4 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.006697, allocations: 3.938 kB / 0.9529 GB, free: 9.535 MB / 0.8575 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.0005867/0.007284, allocations: 270.2 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.00734, allocations: 8.031 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.007389, allocations: 0.9375 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.007562, allocations: 117.8 kB / 0.9533 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.007572, allocations: 384 / 0.9533 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.007594, allocations: 4.375 kB / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.007731, allocations: 34.89 kB / 0.9533 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.007742, allocations: 192 / 0.9533 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.007753, allocations: 4.375 kB / 0.9533 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.007758, allocations: 4.312 kB / 0.9533 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.007801, allocations: 11.94 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.007971, allocations: 101.3 kB / 0.9534 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.831e-05/0.008059, allocations: 30.66 kB / 0.9535 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.008089, allocations: 8.844 kB / 0.9535 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.0081, allocations: 4 kB / 0.9535 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.008314, allocations: 55.39 kB / 0.9535 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.008316, allocations: 0 / 0.9535 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002516/0.008567, allocations: 77.61 kB / 0.9536 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.008617, allocations: 51.41 kB / 0.9537 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.008733, allocations: 105.7 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.008756, allocations: 29.7 kB / 0.9538 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.008798, allocations: 80.14 kB / 0.9539 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.008821, allocations: 7.953 kB / 0.9539 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.008863, allocations: 17.72 kB / 0.9539 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.009044, allocations: 322.8 kB / 0.9542 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.009069, allocations: 4 kB / 0.9542 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.184e-05/0.00912, allocations: 39.42 kB / 0.9542 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8e-05/0.0092, allocations: 47.5 kB / 0.9543 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009203, allocations: 0 / 0.9543 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/0.009335, allocations: 69.56 kB / 0.9544 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.009351, allocations: 4 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.009356, allocations: 4 kB / 0.9544 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.009372, allocations: 0 / 0.9544 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.009463, allocations: 11.98 kB / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.009472, allocations: 8.031 kB / 0.9544 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.009503, allocations: 7.891 kB / 0.9544 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.009511, allocations: 4 kB / 0.9544 GB, free: 7.82 MB / 0.8575 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.722e-05/0.009609, allocations: 113.8 kB / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.009619, allocations: 3.938 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.009644, allocations: 3.688 kB / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.009648, allocations: 4 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.009654, allocations: 0 / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.009662, allocations: 7.922 kB / 0.9545 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.009783, allocations: 101.3 kB / 0.9546 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009784, allocations: 7.938 kB / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.0098, allocations: 3.938 kB / 0.9546 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009802, allocations: 0 / 0.9546 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.009813, allocations: 4 kB / 0.9546 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.009816, allocations: 3.984 kB / 0.9546 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.009819, allocations: 4 kB / 0.9546 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.009971, allocations: 81.06 kB / 0.9547 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.009981, allocations: 4 kB / 0.9547 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.009997, allocations: 3.984 kB / 0.9547 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.01002, allocations: 0 / 0.9547 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.01005, allocations: 4 kB / 0.9547 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.01005, allocations: 4 kB / 0.9547 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.01012, allocations: 83.22 kB / 0.9548 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01012, allocations: 0 / 0.9548 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002792/0.0104, allocations: 31.92 kB / 0.9548 GB, free: 7.297 MB / 0.8575 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.0004804/0.01088, allocations: 165.4 kB / 0.955 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01101, allocations: 32.02 kB / 0.955 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01101, allocations: 0 / 0.955 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.01105, allocations: 11.94 kB / 0.955 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.0112, allocations: 7.984 kB / 0.955 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.01152, allocations: 101.9 kB / 0.9551 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.011e-05/0.01159, allocations: 59.36 kB / 0.9552 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.01161, allocations: 3.984 kB / 0.9552 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.01164, allocations: 12.5 kB / 0.9552 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.01164, allocations: 8.125 kB / 0.9552 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of Templates: time 0.004498/0.01614, allocations: 1.033 MB / 0.9562 GB, free: 5.84 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.176499236375093]