Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.001312/0.001312, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001437/0.001437, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.166/3.166, allocations: 0.5003 GB / 0.8026 GB, free: 6.902 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.91 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001764/1.105, allocations: 0.598 MB / 1.341 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003165/1.105, allocations: 93.36 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/1.105, allocations: 4 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/1.105, allocations: 0 / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/1.105, allocations: 1.797 kB / 1.341 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/1.106, allocations: 17.11 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.838e-05/1.106, allocations: 10 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/1.106, allocations: 1.656 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/1.106, allocations: 10.8 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/1.106, allocations: 3.359 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/1.106, allocations: 4.906 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.284e-05/1.106, allocations: 14.27 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/1.106, allocations: 5.906 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/1.106, allocations: 1.875 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.723e-05/1.106, allocations: 11.2 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.106, allocations: 4 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/1.106, allocations: 5.25 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.106, allocations: 0 / 1.341 GB, free: 15.84 MB / 1.061 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.0003218/1.106, allocations: 316.5 kB / 1.341 GB, free: 15.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.106, allocations: 9.688 kB / 1.341 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.486e-05/1.106, allocations: 10.05 kB / 1.341 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.778e-05/1.106, allocations: 30.75 kB / 1.341 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/1.107, allocations: 18.55 kB / 1.341 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.071e-05/1.107, allocations: 161.8 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.107, allocations: 1.531 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/1.107, allocations: 1.5 kB / 1.341 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/1.107, allocations: 43.12 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.107, allocations: 1.125 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/1.107, allocations: 4 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.107, allocations: 5.156 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/1.107, allocations: 11.61 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/1.107, allocations: 154.7 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/1.107, allocations: 38.19 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/1.107, allocations: 11.36 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/1.107, allocations: 8 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/1.107, allocations: 40.52 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.107, allocations: 0 / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002198/1.107, allocations: 56.25 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/1.107, allocations: 53.16 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.664e-05/1.107, allocations: 89.86 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/1.108, allocations: 26.77 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.596e-05/1.108, allocations: 84.84 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/1.108, allocations: 13.8 kB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/1.108, allocations: 13.92 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.792e-05/1.108, allocations: 311.6 kB / 1.342 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/1.108, allocations: 10.36 kB / 1.342 GB, free: 14.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/1.108, allocations: 5.344 kB / 1.342 GB, free: 14.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/1.108, allocations: 26 kB / 1.342 GB, free: 14.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.108, allocations: 4 kB / 1.342 GB, free: 14.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001087/1.108, allocations: 47.36 kB / 1.342 GB, free: 14.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.108, allocations: 12.06 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.108, allocations: 0.5625 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.108, allocations: 1 kB / 1.342 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/1.108, allocations: 46.14 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/1.109, allocations: 1.403 MB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/1.109, allocations: 1.922 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/1.109, allocations: 5.031 kB / 1.344 GB, free: 12.73 MB / 1.061 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/1.11, allocations: 123.7 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/1.11, allocations: 9.016 kB / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.275e-05/1.11, allocations: 5.172 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.11, allocations: 0.5625 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/1.11, allocations: 1.125 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.11, allocations: 0.6094 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.021e-05/1.11, allocations: 155.2 kB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.11, allocations: 0.5625 kB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/1.11, allocations: 53.23 kB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.11, allocations: 2.047 kB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/1.11, allocations: 0 / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009414/1.111, allocations: 1.407 MB / 1.346 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.111, allocations: 0 / 1.346 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/1.111, allocations: 77.62 kB / 1.346 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/1.111, allocations: 85.84 kB / 1.346 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/1.111, allocations: 1.734 kB / 1.346 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.958e-05/1.111, allocations: 2.797 kB / 1.346 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/1.111, allocations: 6.547 kB / 1.346 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/1.111, allocations: 0.7031 kB / 1.346 GB, free: 10.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.373e-05/1.111, allocations: 76.69 kB / 1.346 GB, free: 10.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.111, allocations: 0 / 1.346 GB, free: 10.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002208/1.111, allocations: 2.844 kB / 1.346 GB, free: 10.69 MB / 1.061 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003122/1.112, allocations: 0.6179 MB / 1.346 GB, free: 10.08 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005208/1.112, allocations: 58.67 kB / 1.347 GB, free: 10.08 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.112, allocations: 4 kB / 1.347 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/1.113, allocations: 34.81 kB / 1.347 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/1.113, allocations: 5.5 kB / 1.347 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/1.113, allocations: 129.5 kB / 1.347 GB, free: 9.926 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.254e-05/1.113, allocations: 0.6738 MB / 1.347 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.965e-05/1.113, allocations: 6.703 kB / 1.347 GB, free: 9.227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/1.113, allocations: 18.02 kB / 1.347 GB, free: 9.211 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.113, allocations: 0 / 1.347 GB, free: 9.211 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/1.133, allocations: 1.337 MB / 1.349 GB, free: 8.824 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.45, allocations: 6.609 kB / 1.349 GB, free: 8.82 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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: 20.25035333802225]