Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001768/0.001768, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002082/0.002082, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.153/3.153, allocations: 0.4892 GB / 0.7943 GB, free: 35.87 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_12_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.002012/0.002012, allocations: 67.56 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 176.1 MB / 1.325 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002757/0.3303, allocations: 1.47 MB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002924/0.3306, allocations: 83.83 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.3307, allocations: 0 / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.3307, allocations: 3.938 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.938e-05/0.3307, allocations: 3.938 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3309, allocations: 19.97 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.331, allocations: 31.86 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.3311, allocations: 3.984 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.3312, allocations: 8 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.3312, allocations: 11.92 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3312, allocations: 4 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.3313, allocations: 15.98 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.3313, allocations: 4 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.3313, allocations: 7.938 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3314, allocations: 40.09 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3314, allocations: 4 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3314, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.3314, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 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.0004725/0.3319, allocations: 268.2 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3319, allocations: 12.03 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.332, allocations: 34.69 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.3321, allocations: 16.88 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3323, allocations: 106.5 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3323, allocations: 4.375 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.3323, allocations: 384 / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3325, allocations: 62.22 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3325, allocations: 3.938 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3325, allocations: 0 / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3325, allocations: 0 / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.3327, allocations: 51.89 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3331, allocations: 228 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.3333, allocations: 58.47 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3334, allocations: 36.89 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3334, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3335, allocations: 34.56 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3335, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004141/0.3339, allocations: 109.5 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3339, allocations: 51.41 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.334, allocations: 109.8 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.334, allocations: 29.7 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.3341, allocations: 84.14 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.3341, allocations: 7.891 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3341, allocations: 17.72 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3343, allocations: 314.8 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.3344, allocations: 20.11 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.3345, allocations: 31.97 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3347, allocations: 48.81 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3347, allocations: 3.938 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002368/0.3349, allocations: 85.64 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3349, allocations: 4 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.335, allocations: 0 / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.335, allocations: 0 / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3351, allocations: 11.98 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3351, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.3351, allocations: 12 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3351, allocations: 3.984 kB / 1.329 GB, free: 14.69 MB / 1.029 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 8.696e-05/0.3352, allocations: 113.2 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3353, allocations: 11.98 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.3353, allocations: 3.625 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3353, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3353, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3353, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.3355, allocations: 140.7 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3355, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.3355, allocations: 11.98 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3355, allocations: 3.938 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3356, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3356, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3356, allocations: 3.938 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.3359, allocations: 179.4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.3359, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3359, allocations: 256 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.336, allocations: 15.98 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.336, allocations: 4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.336, allocations: 4.031 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.3361, allocations: 83.27 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3361, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002142/0.3363, allocations: 8 kB / 1.329 GB, free: 14.04 MB / 1.029 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.0006314/0.3369, allocations: 0.7148 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.3372, allocations: 55.98 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3372, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3373, allocations: 23.97 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3376, allocations: 5.562 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.3381, allocations: 163 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.3381, allocations: 63.47 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.3382, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.3382, allocations: 11.44 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3382, allocations: 0 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.3682, allocations: 2.053 MB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.04, allocations: 13.81 kB / 1.332 GB, free: 10.99 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.750289392191917]