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.001596/0.001596, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001766/0.001766, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.8 MB / 0.7714 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.77 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3134, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002646/0.316, allocations: 1.237 MB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.317, allocations: 428.5 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.317, allocations: 3.938 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.317, allocations: 0 / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.863e-05/0.317, allocations: 0 / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.3175, allocations: 107.6 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.3176, allocations: 23.91 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.3176, allocations: 4 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.824e-05/0.3177, allocations: 0 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.3177, allocations: 7.984 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3177, allocations: 0 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.318, allocations: 135.8 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.318, allocations: 7.922 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.318, allocations: 11.98 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3182, allocations: 87.7 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3182, allocations: 4 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3182, allocations: 0 / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3182, allocations: 0 / 1.287 GB, free: 9.172 MB / 0.9825 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.0004778/0.3187, allocations: 267.8 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3187, allocations: 11.97 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.3188, allocations: 4.891 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.3189, allocations: 114.5 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.3189, allocations: 384 / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3189, allocations: 8.375 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.319, allocations: 38.25 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.319, allocations: 192 / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.319, allocations: 3.938 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.319, allocations: 3.984 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.3191, allocations: 4 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.3192, allocations: 128.8 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.3193, allocations: 30.52 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.3193, allocations: 12.8 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.3193, allocations: 4 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.3195, allocations: 55.48 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3195, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002006/0.3197, allocations: 77.55 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3197, allocations: 51.41 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.3198, allocations: 101.8 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3198, allocations: 25.7 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.3199, allocations: 84.14 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3199, allocations: 15.89 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3199, allocations: 17.72 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3201, allocations: 314.8 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.3201, allocations: 7.984 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.3201, allocations: 35.56 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.3202, allocations: 47.36 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3202, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001066/0.3203, allocations: 65.62 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3203, allocations: 11.94 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3203, allocations: 8.031 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3204, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.3204, allocations: 8 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3204, allocations: 0 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.3205, allocations: 4 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3205, allocations: 3.984 kB / 1.288 GB, free: 7.426 MB / 0.9825 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.92e-05/0.3206, allocations: 117.8 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.3206, allocations: 7.891 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.3206, allocations: 3.688 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3206, allocations: 8 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3206, allocations: 4 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3206, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3207, allocations: 124.8 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3207, allocations: 0 / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.3207, allocations: 3.938 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3208, allocations: 3.938 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3208, allocations: 4 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3208, allocations: 7.922 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3208, allocations: 0 / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.3209, allocations: 85.34 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.3209, allocations: 4 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3209, allocations: 7.922 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.3209, allocations: 0 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.321, allocations: 4 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.321, allocations: 4 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.321, allocations: 75.28 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.321, allocations: 4.094 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002471/0.3213, allocations: 35.92 kB / 1.289 GB, free: 6.859 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.000364/0.3216, allocations: 166.4 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.3217, allocations: 23.98 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3217, allocations: 192 / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.3218, allocations: 15.94 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.3219, allocations: 10.42 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.3222, allocations: 126.7 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3225, allocations: 0.6729 MB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.3225, allocations: 7.438 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3225, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of Templates: time 0.003141/0.3256, allocations: 1.194 MB / 1.291 GB, free: 4.598 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 -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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.450364727003034]