Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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 11.1.0-maint.11.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7424 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 71.53 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2447, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002557/0.2473, allocations: 1.447 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003818/0.2477, allocations: 189.3 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.2478, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.2478, allocations: 3.938 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.2478, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.2481, allocations: 47.83 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.383e-05/0.2481, allocations: 19.98 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.2482, allocations: 8 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.2482, allocations: 11.94 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.74e-05/0.2483, allocations: 15.92 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.2483, allocations: 3.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.2484, allocations: 31.97 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.2484, allocations: 15.97 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.2484, allocations: 3.938 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.2485, allocations: 35.89 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2485, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2486, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2486, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.8262 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.0004303/0.249, allocations: 347.7 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.249, allocations: 8.031 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.2491, allocations: 38.75 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.2491, allocations: 4.922 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2492, allocations: 160.4 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2492, allocations: 4.375 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.2493, allocations: 384 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.2494, allocations: 54.23 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2494, allocations: 3.938 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.2494, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2494, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2496, allocations: 35.91 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.2499, allocations: 256.9 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.25, allocations: 42.44 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.2501, allocations: 28.89 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.693e-05/0.2502, allocations: 77.11 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2503, allocations: 34.5 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2503, allocations: 4 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003176/0.2506, allocations: 81.64 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.2506, allocations: 55.41 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.2507, allocations: 101.8 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2507, allocations: 25.7 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.2508, allocations: 88.14 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2508, allocations: 3.906 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.2509, allocations: 13.84 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.251, allocations: 318.8 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.2511, allocations: 15.97 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.2512, allocations: 19.92 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.2513, allocations: 45.08 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2513, allocations: 3.938 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001927/0.2515, allocations: 69.66 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.2515, allocations: 4 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2515, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2516, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.2516, allocations: 7.984 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2517, allocations: 3.984 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.2517, allocations: 16 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.2517, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.336e-05/0.2518, allocations: 121.7 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.2518, allocations: 3.906 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.2521, allocations: 72.72 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2521, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2521, allocations: 32 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2521, allocations: 4 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.2522, allocations: 165.6 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2523, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.2523, allocations: 11.98 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2523, allocations: 0 / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.2523, allocations: 0 / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.2523, allocations: 0 / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2523, allocations: 0 / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.2526, allocations: 167.4 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.2526, allocations: 85.11 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.2526, allocations: 0 / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.2527, allocations: 7.984 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.2527, allocations: 3.938 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.2528, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.2528, allocations: 79.28 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2528, allocations: 4.031 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002116/0.253, allocations: 16 kB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005507/0.2536, allocations: 0.7045 MB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.2538, allocations: 43.94 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2538, allocations: 3.938 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.2539, allocations: 23.97 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2541, allocations: 1.875 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.2545, allocations: 139.3 kB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.2548, allocations: 0.6768 MB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.2548, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.2548, allocations: 15.44 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of SimCode: time 3.196e-06/0.2548, allocations: 0 / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.207/1.462, allocations: 1.42 MB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.41, allocations: 5.125 kB / 1.071 GB, free: 6.277 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches