Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.00117/0.00117, allocations: 107.2 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.001154/0.001154, 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.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.379/2.379, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 71.89 kB / 1.059 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2611, allocations: 160.7 MB / 1.216 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001625/0.2627, allocations: 0.604 MB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002606/0.263, allocations: 91.73 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.263, allocations: 4 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.263, allocations: 4 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.044e-05/0.2631, allocations: 0 / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.2632, allocations: 7.984 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.2633, allocations: 19.91 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.2633, allocations: 4 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.2633, allocations: 3.938 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.2634, allocations: 4 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.2634, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.2635, allocations: 15.98 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.2635, allocations: 4 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.2635, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.775e-05/0.2636, allocations: 20.19 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2636, allocations: 3.984 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2636, allocations: 4 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2636, allocations: 0 / 1.216 GB, free: 15.08 MB / 0.9669 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.0003188/0.2639, allocations: 315.5 kB / 1.217 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2639, allocations: 12.03 kB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.264, allocations: 34.73 kB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.2641, allocations: 16.88 kB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2642, allocations: 160.4 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2642, allocations: 384 / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.2642, allocations: 4.375 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2643, allocations: 42.19 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2643, allocations: 3.938 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.2643, allocations: 0 / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2643, allocations: 0 / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.2644, allocations: 11.98 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.2646, allocations: 161.6 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.2647, allocations: 34.61 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.2648, allocations: 16.91 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2648, allocations: 0 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2648, allocations: 46.44 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2648, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001995/0.265, allocations: 53.61 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.2651, allocations: 55.41 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.355e-05/0.2651, allocations: 89.86 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2651, allocations: 29.7 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.2651, allocations: 80.14 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.2652, allocations: 3.953 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.2652, allocations: 21.7 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2653, allocations: 314.8 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.2654, allocations: 7.938 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.2654, allocations: 7.984 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.791e-05/0.2655, allocations: 25.06 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2655, allocations: 0 / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001117/0.2656, allocations: 53.67 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.2656, allocations: 8 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2656, allocations: 3.938 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2656, allocations: 0 / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.266, allocations: 43.94 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.2673, allocations: 1.404 MB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.2673, allocations: 7.953 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.2673, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 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 7.592e-05/0.2674, allocations: 117.8 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.2674, allocations: 0 / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.2674, allocations: 7.594 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2674, allocations: 0 / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.2674, allocations: 0 / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2674, allocations: 4 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.2676, allocations: 153.6 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2676, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.2679, allocations: 51.88 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2679, allocations: 0 / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2679, allocations: 7.984 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.2691, allocations: 1.393 MB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2691, allocations: 128 / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.2693, allocations: 89.11 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.2693, allocations: 81.11 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.233e-06/0.2693, allocations: 3.938 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.2694, allocations: 4 kB / 1.221 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.2694, allocations: 3.984 kB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2694, allocations: 0 / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.848e-05/0.2694, allocations: 79.28 kB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2694, allocations: 3.938 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001802/0.2696, allocations: 8 kB / 1.221 GB, free: 9.438 MB / 0.9669 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.0004105/0.27, allocations: 0.6085 MB / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.2704, allocations: 63.86 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2704, allocations: 0 / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.2706, allocations: 43.95 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2708, allocations: 4 kB / 1.222 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.2712, allocations: 138.2 kB / 1.222 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.2714, allocations: 0.669 MB / 1.223 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.2714, allocations: 4 kB / 1.223 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.2715, allocations: 7.438 kB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.2715, allocations: 4 kB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.2956, allocations: 1.272 MB / 1.224 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.5, allocations: 5.688 kB / 1.224 GB, free: 6.645 MB / 0.9669 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.777963783002633]