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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.00122/0.00122, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.506/2.506, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 63.91 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8188, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002196/0.821, allocations: 1.463 MB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.8214, allocations: 192.8 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.8214, allocations: 4.906 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.8214, allocations: 0 / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.8215, allocations: 5.469 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.8217, allocations: 38.41 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.8218, allocations: 29.83 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.8219, allocations: 3.969 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.8219, allocations: 13.42 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.724e-05/0.8219, allocations: 9.719 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.822, allocations: 2.281 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.8221, allocations: 36.88 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.8221, allocations: 9.844 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.8221, allocations: 11.77 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.8222, allocations: 37.88 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8222, allocations: 0.75 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8222, allocations: 3.938 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8222, allocations: 0 / 1.273 GB, free: 6.496 MB / 0.9981 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.0003722/0.8226, allocations: 347.3 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8226, allocations: 9.625 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.463e-05/0.8227, allocations: 32.02 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.8227, allocations: 10.53 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.584e-05/0.8228, allocations: 167.5 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.8228, allocations: 5.156 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.8228, allocations: 2 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.8229, allocations: 49.3 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.8229, allocations: 7.922 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.823, allocations: 0.8438 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.823, allocations: 1.484 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.8231, allocations: 36.42 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.8234, allocations: 251.8 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.8235, allocations: 40.59 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.8236, allocations: 24 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.037e-05/0.8236, allocations: 84 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.8237, allocations: 32.08 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8237, allocations: 0 / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003204/0.824, allocations: 84.88 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.824, allocations: 51.97 kB / 1.274 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/0.824, allocations: 109 kB / 1.274 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.8241, allocations: 25.7 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.8241, allocations: 81.92 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.8241, allocations: 8.953 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.8241, allocations: 15.34 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.365e-05/0.8241, allocations: 314.3 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.8242, allocations: 18.98 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.8243, allocations: 18.48 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.8244, allocations: 38.3 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8244, allocations: 3.938 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001719/0.8246, allocations: 73.28 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.8246, allocations: 4.5 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.8246, allocations: 8.719 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.8246, allocations: 0.9688 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.8247, allocations: 10.45 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.8247, allocations: 1 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.8247, allocations: 7.266 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.8248, allocations: 0.7812 kB / 1.275 GB, free: 4.629 MB / 0.9981 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 3.865e-05/0.8248, allocations: 111.8 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.8248, allocations: 4.797 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.825, allocations: 80.77 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.825, allocations: 0.9688 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.825, allocations: 3.938 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.825, allocations: 0 / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.8251, allocations: 162.5 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.8251, allocations: 0 / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.8252, allocations: 8.047 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8252, allocations: 1 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.8252, allocations: 4.031 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8252, allocations: 3.266 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8252, allocations: 0 / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.8254, allocations: 164.3 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.8254, allocations: 77.77 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.8254, allocations: 0.875 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.8255, allocations: 8.484 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.8255, allocations: 4.109 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.8255, allocations: 1.781 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.096e-05/0.8255, allocations: 86.5 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8255, allocations: 0 / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002117/0.8257, allocations: 13.62 kB / 1.276 GB, free: 3.934 MB / 0.9981 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.0003836/0.8261, allocations: 0.7064 MB / 1.276 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.8263, allocations: 36.42 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8263, allocations: 0 / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.8264, allocations: 28.78 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.8266, allocations: 2 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.827, allocations: 137.8 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.827, allocations: 0.6823 MB / 1.277 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.8271, allocations: 4.719 kB / 1.277 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.8271, allocations: 9.062 kB / 1.277 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.8271, allocations: 0 / 1.277 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.8481, allocations: 1.437 MB / 1.279 GB, free: 18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.795, allocations: 4.578 kB / 1.279 GB, free: 18 MB / 1.014 GB " [Timeout remaining time 292] (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) [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/jenkins1/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: 13.083339742001044]