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.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.0008425/0.0008425, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0009047/0.0009047, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9308/0.9308, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.734/1.734, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9505 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.526e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001698/0.001713, allocations: 1.456 MB / 0.9519 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.002025, allocations: 191.3 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.002054, allocations: 0 / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.002086, allocations: 0 / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.002121, allocations: 7.938 kB / 0.9521 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.002361, allocations: 35.91 kB / 0.9521 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.041e-05/0.002421, allocations: 23.92 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.002507, allocations: 7.984 kB / 0.9522 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.002552, allocations: 15.92 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.002583, allocations: 8 kB / 0.9522 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.002597, allocations: 0 / 0.9522 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.895e-05/0.002666, allocations: 27.97 kB / 0.9522 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.00268, allocations: 7.984 kB / 0.9522 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.002696, allocations: 7.938 kB / 0.9522 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.002802, allocations: 51.86 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002804, allocations: 0 / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002805, allocations: 0 / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.002808, allocations: 0 / 0.9523 GB, free: 1.586 MB / 0.9011 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.0003111/0.003119, allocations: 271.9 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.003154, allocations: 12.03 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.003179, allocations: 34.75 kB / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.909e-05/0.003198, allocations: 4.891 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.707e-05/0.003265, allocations: 117.7 kB / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.003274, allocations: 384 / 0.9527 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.00328, allocations: 4.375 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.003391, allocations: 50.23 kB / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.003397, allocations: 192 / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.003404, allocations: 384 / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.003409, allocations: 8.125 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.003498, allocations: 27.97 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.00374, allocations: 220 kB / 0.953 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.003813, allocations: 38.56 kB / 0.953 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.003862, allocations: 24.89 kB / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.003922, allocations: 4 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.003943, allocations: 34.5 kB / 0.9531 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.003944, allocations: 3.938 kB / 0.9531 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002218/0.004166, allocations: 89.53 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.004194, allocations: 59.53 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.004249, allocations: 105.8 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.004259, allocations: 25.7 kB / 0.9534 GB, free: 312 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.004292, allocations: 84.14 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.004308, allocations: 7.953 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.004331, allocations: 9.719 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.004411, allocations: 314.8 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.004451, allocations: 19.97 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.004486, allocations: 15.98 kB / 0.9538 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.004563, allocations: 40.89 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004564, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.004664, allocations: 73.53 kB / 0.9539 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.004678, allocations: 8 kB / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004683, allocations: 0 / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.004695, allocations: 0 / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.004753, allocations: 12.02 kB / 0.9539 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.004758, allocations: 0 / 0.9539 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.004781, allocations: 7.984 kB / 0.9539 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.004787, allocations: 4 kB / 0.954 GB, free: 15.69 MB / 0.9167 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 5.09e-05/0.004838, allocations: 105.8 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.004851, allocations: 7.891 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.004987, allocations: 72.97 kB / 0.9541 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004988, allocations: 4.031 kB / 0.9541 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.004992, allocations: 3.938 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.004995, allocations: 0 / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.962e-05/0.005094, allocations: 132.7 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005095, allocations: 0 / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.005119, allocations: 7.984 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.005122, allocations: 7.938 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.005128, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005129, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005129, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.005245, allocations: 163.5 kB / 0.9544 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.005252, allocations: 7.875 kB / 0.9544 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.00526, allocations: 4 kB / 0.9544 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.005297, allocations: 7.984 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.005326, allocations: 3.984 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005328, allocations: 256 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.648e-05/0.005355, allocations: 91.27 kB / 0.9545 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005355, allocations: 0 / 0.9545 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001535/0.005508, allocations: 15.94 kB / 0.9546 GB, free: 14.99 MB / 0.9167 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.0003199/0.005828, allocations: 0.7129 MB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.005951, allocations: 35.95 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.005952, allocations: 0 / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.005994, allocations: 23.92 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.006179, allocations: 4.156 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.006477, allocations: 134.5 kB / 0.9554 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.006516, allocations: 63.34 kB / 0.9555 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.006533, allocations: 3.906 kB / 0.9555 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.00656, allocations: 16.48 kB / 0.9555 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.00656, allocations: 0 / 0.9555 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.02026, allocations: 2.12 MB / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.783, allocations: 6.438 kB / 0.9576 GB, free: 11.93 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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: 10.799121630378067]