Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001502/0.001503, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 16 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7919, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007305/0.7927, allocations: 329.3 kB / 0.9548 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003596/0.793, allocations: 150.2 kB / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.7931, allocations: 0 / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.7931, allocations: 0 / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.544e-05/0.7931, allocations: 0 / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.7934, allocations: 30.2 kB / 0.9549 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.257e-05/0.7934, allocations: 21.41 kB / 0.955 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.7935, allocations: 6.266 kB / 0.955 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.7935, allocations: 2.469 kB / 0.955 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.7936, allocations: 11.52 kB / 0.955 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.7936, allocations: 1.156 kB / 0.955 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.7937, allocations: 26.47 kB / 0.955 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.7937, allocations: 13.33 kB / 0.955 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.7937, allocations: 28.05 kB / 0.955 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.12e-05/0.7938, allocations: 17.56 kB / 0.9551 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7938, allocations: 0 / 0.9551 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7938, allocations: 4 kB / 0.9551 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7938, allocations: 1.031 kB / 0.9551 GB, free: 7.23 MB / 0.7169 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.0002917/0.7941, allocations: 330.8 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.7942, allocations: 8.844 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.7942, allocations: 6.047 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.391e-05/0.7943, allocations: 160.2 kB / 0.9555 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.7943, allocations: 5.219 kB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.7943, allocations: 2.188 kB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.7945, allocations: 44.66 kB / 0.9556 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.7945, allocations: 3.938 kB / 0.9556 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.7945, allocations: 9 kB / 0.9556 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.7945, allocations: 1.125 kB / 0.9556 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.7945, allocations: 15.91 kB / 0.9556 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.7947, allocations: 161.2 kB / 0.9558 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.415e-05/0.7948, allocations: 43.28 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.7948, allocations: 25.03 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/0.7949, allocations: 79.55 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.7949, allocations: 35.56 kB / 0.956 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.7949, allocations: 0 / 0.956 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001145/0.7961, allocations: 488.8 kB / 0.9564 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.7961, allocations: 52.56 kB / 0.9565 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.08e-05/0.7962, allocations: 99.19 kB / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.7962, allocations: 26.7 kB / 0.9566 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.352e-05/0.7962, allocations: 85.39 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.7962, allocations: 18 kB / 0.9567 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.7962, allocations: 4 kB / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.7963, allocations: 316 kB / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.7963, allocations: 11.47 kB / 0.957 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.7964, allocations: 15.36 kB / 0.957 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.7964, allocations: 11.91 kB / 0.957 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7964, allocations: 4.125 kB / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.711e-05/0.7965, allocations: 79.7 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.7965, allocations: 4.375 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.7965, allocations: 0 / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.7965, allocations: 1.875 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.7966, allocations: 14.2 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.7966, allocations: 1.312 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.7967, allocations: 9.297 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.7967, allocations: 1.531 kB / 0.9571 GB, free: 5.059 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.7967, allocations: 116.1 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.7967, allocations: 1.812 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.7969, allocations: 86.55 kB / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.7969, allocations: 1.469 kB / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7969, allocations: 1.031 kB / 0.9573 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7969, allocations: 3.984 kB / 0.9573 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.249e-05/0.797, allocations: 165.3 kB / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.797, allocations: 1.219 kB / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.7971, allocations: 10.19 kB / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7971, allocations: 5.375 kB / 0.9575 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.7971, allocations: 9.391 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7971, allocations: 0 / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7971, allocations: 0 / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.7973, allocations: 126.5 kB / 0.9576 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.7973, allocations: 78.64 kB / 0.9577 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.7973, allocations: 1.188 kB / 0.9577 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.7974, allocations: 5.125 kB / 0.9577 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.7974, allocations: 10.58 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.7974, allocations: 3.031 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.554e-05/0.7974, allocations: 75.28 kB / 0.9578 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7974, allocations: 0 / 0.9578 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002235/0.7976, allocations: 32.19 kB / 0.9578 GB, free: 4.355 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.7978, allocations: 138.1 kB / 0.958 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.7979, allocations: 40.27 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7979, allocations: 4.094 kB / 0.958 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.798, allocations: 25.73 kB / 0.958 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.7981, allocations: 16.66 kB / 0.9581 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.7984, allocations: 141 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.7985, allocations: 0.6828 MB / 0.9589 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.7985, allocations: 11.67 kB / 0.9589 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.7986, allocations: 11.59 kB / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7986, allocations: 0 / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of Templates: time 0.002788/0.8014, allocations: 0.8328 MB / 0.9597 GB, free: 2.914 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches