Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001354/0.001354, allocations: 111.1 kB / 16.46 MB, free: 6.453 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.003155/0.003155, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7672 GB, free: 5.234 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",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.00201/0.00201, allocations: 71.91 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.827, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003142/0.8302, allocations: 1.471 MB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.8305, allocations: 95.81 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.8305, allocations: 0 / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.8306, allocations: 3.938 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.8306, allocations: 7.938 kB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.8308, allocations: 11.98 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.8309, allocations: 27.92 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.831, allocations: 3.984 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.831, allocations: 15.92 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.8311, allocations: 15.92 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.8311, allocations: 4 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.609e-05/0.8312, allocations: 11.98 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.8312, allocations: 4 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.8312, allocations: 11.94 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.8313, allocations: 37.72 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8313, allocations: 0 / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8313, allocations: 0 / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.8313, allocations: 0 / 1.28 GB, free: 11.7 MB / 0.9825 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.0005195/0.8319, allocations: 343.4 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8319, allocations: 8.031 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.832, allocations: 34.69 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.8321, allocations: 16.86 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.8323, allocations: 180.2 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.8323, allocations: 4.375 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.8323, allocations: 384 / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.8325, allocations: 58.23 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8325, allocations: 3.938 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.8325, allocations: 0 / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8325, allocations: 0 / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.8328, allocations: 55.94 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.8332, allocations: 260.9 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.8334, allocations: 54.52 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.8335, allocations: 24.91 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.8335, allocations: 4 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.8335, allocations: 30.56 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8336, allocations: 3.938 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004477/0.834, allocations: 113.5 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.834, allocations: 51.53 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.8342, allocations: 105.9 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.8342, allocations: 25.7 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.8342, allocations: 88.12 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.8343, allocations: 7.953 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.8343, allocations: 9.719 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8344, allocations: 318.8 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.8345, allocations: 24.22 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.8347, allocations: 27.97 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.8349, allocations: 52.81 kB / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.8349, allocations: 3.938 kB / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002648/0.8351, allocations: 81.66 kB / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8351, allocations: 8 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8351, allocations: 0 / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.8352, allocations: 0 / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.8353, allocations: 11.98 kB / 1.282 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8353, allocations: 0 / 1.282 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.8353, allocations: 7.984 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.8353, allocations: 0 / 1.282 GB, free: 9.488 MB / 0.9825 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 9.041e-05/0.8354, allocations: 121.8 kB / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.8355, allocations: 0 / 1.282 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.8355, allocations: 7.516 kB / 1.282 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.8355, allocations: 4 kB / 1.282 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8355, allocations: 0 / 1.282 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8355, allocations: 0 / 1.282 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.8357, allocations: 169.5 kB / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8357, allocations: 7.938 kB / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/0.8358, allocations: 7.984 kB / 1.282 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.8358, allocations: 4 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.8358, allocations: 4 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8358, allocations: 0 / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.8358, allocations: 0 / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.8361, allocations: 183.4 kB / 1.282 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.8362, allocations: 77.11 kB / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.8362, allocations: 7.969 kB / 1.282 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.8363, allocations: 11.98 kB / 1.282 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.8363, allocations: 4 kB / 1.282 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.8363, allocations: 0 / 1.282 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.8364, allocations: 83.27 kB / 1.283 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8364, allocations: 0 / 1.283 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002258/0.8366, allocations: 8 kB / 1.283 GB, free: 8.699 MB / 0.9825 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.0006459/0.8372, allocations: 0.7206 MB / 1.283 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.8375, allocations: 47.95 kB / 1.283 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8375, allocations: 4.094 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.8376, allocations: 27.97 kB / 1.283 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.8379, allocations: 2.062 kB / 1.283 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.8384, allocations: 162.9 kB / 1.283 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.8388, allocations: 0.6807 MB / 1.284 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.8388, allocations: 4 kB / 1.284 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.8388, allocations: 11.42 kB / 1.284 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.8388, allocations: 0 / 1.284 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.8642, allocations: 1.467 MB / 1.286 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/9.091, allocations: 11.7 kB / 1.286 GB, free: 5.559 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_11_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.367567805107683]