Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001369/0.001369, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001387/0.001387, allocations: 188.2 kB / 22.22 MB, free: 5.105 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.413/1.413, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.84 kB / 1.062 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8197, allocations: 160.8 MB / 1.219 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001947/0.8216, allocations: 0.6035 MB / 1.219 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004747/0.8221, allocations: 172.2 kB / 1.219 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.8221, allocations: 4 kB / 1.219 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.8221, allocations: 0 / 1.219 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.931e-05/0.8222, allocations: 0 / 1.219 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.8225, allocations: 34.94 kB / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.8226, allocations: 15.61 kB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.8226, allocations: 9.203 kB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.934e-05/0.8226, allocations: 7.656 kB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.8227, allocations: 6.594 kB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.8227, allocations: 1.25 kB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.159e-05/0.8228, allocations: 35 kB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.8229, allocations: 13.06 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.8229, allocations: 11.22 kB / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.823, allocations: 31.41 kB / 1.219 GB, free: 3.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.823, allocations: 0 / 1.219 GB, free: 3.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.314e-06/0.823, allocations: 1.375 kB / 1.219 GB, free: 3.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.823, allocations: 0 / 1.219 GB, free: 3.098 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004644/0.8235, allocations: 337 kB / 1.22 GB, free: 2.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.8235, allocations: 9.156 kB / 1.22 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.8235, allocations: 2.219 kB / 1.22 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.8237, allocations: 169.8 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.8237, allocations: 5.625 kB / 1.22 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.8237, allocations: 2.844 kB / 1.22 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.8238, allocations: 46 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8238, allocations: 192 / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.8239, allocations: 3.938 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.8239, allocations: 1.125 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.8239, allocations: 16.67 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.8241, allocations: 155.1 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.8242, allocations: 46.28 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.8243, allocations: 25.19 kB / 1.22 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.8244, allocations: 79.36 kB / 1.22 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.8244, allocations: 35.72 kB / 1.22 GB, free: 2.078 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.8244, allocations: 0 / 1.22 GB, free: 2.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.001308/0.8257, allocations: 496.1 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.8257, allocations: 51.41 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.8258, allocations: 96.5 kB / 1.221 GB, free: 1.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.8258, allocations: 29.7 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.8259, allocations: 81.11 kB / 1.221 GB, free: 1.348 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.8259, allocations: 30.03 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.826, allocations: 23.55 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8261, allocations: 316.1 kB / 1.221 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.8261, allocations: 15.27 kB / 1.221 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.8261, allocations: 15.66 kB / 1.221 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.271e-05/0.8262, allocations: 34.02 kB / 1.221 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8262, allocations: 0 / 1.221 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.8263, allocations: 71.61 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.8263, allocations: 13.2 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.8263, allocations: 0 / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8264, allocations: 0.9375 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.8264, allocations: 16.22 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.8264, allocations: 4 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.8265, allocations: 5.188 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.8265, allocations: 5.812 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.26e-05/0.8266, allocations: 112 kB / 1.222 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.8266, allocations: 5 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.8267, allocations: 84.09 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8267, allocations: 1.125 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.8267, allocations: 1.062 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8267, allocations: 4 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.8269, allocations: 161.9 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8269, allocations: 0 / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.827, allocations: 18.8 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.827, allocations: 5.25 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.827, allocations: 1.281 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.827, allocations: 0 / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.827, allocations: 1 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.8272, allocations: 121.7 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.8272, allocations: 86.34 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.8272, allocations: 1.188 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.683e-05/0.8273, allocations: 6.266 kB / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.8273, allocations: 5.188 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.8273, allocations: 6.375 kB / 1.222 GB, free: 264 kB / 0.92 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.8273, allocations: 76.44 kB / 1.222 GB, free: 188 kB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.8273, allocations: 0 / 1.222 GB, free: 188 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002316/0.8276, allocations: 32.05 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0002758/0.8279, allocations: 134.3 kB / 1.222 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.828, allocations: 35.94 kB / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.828, allocations: 3.938 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.828, allocations: 26.28 kB / 1.222 GB, free: 44 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.8282, allocations: 6.312 kB / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.8286, allocations: 140.8 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.8289, allocations: 0.6841 MB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.8289, allocations: 7.516 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.8289, allocations: 11.84 kB / 1.223 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.8289, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of Templates: time 0.003633/0.8326, allocations: 0.9087 MB / 1.224 GB, free: 14.71 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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: 8.464619777165353]