Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009264/0.0009264, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008222/0.0008222, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8802/0.8802, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.762/1.762, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.717e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001666/0.001683, allocations: 1.46 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002204/0.001903, allocations: 95.59 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.001932, allocations: 3.938 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.001956, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.001998, allocations: 11.88 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.002182, allocations: 11.98 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.002242, allocations: 23.92 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.002322, allocations: 8 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.002368, allocations: 11.98 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.002401, allocations: 19.91 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.002415, allocations: 4 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.754e-05/0.002463, allocations: 11.98 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.002476, allocations: 4 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.002494, allocations: 8 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.002592, allocations: 35.83 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002593, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002594, allocations: 0 / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.002598, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 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.0003081/0.002906, allocations: 266.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.002941, allocations: 8.75 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.002967, allocations: 34.75 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/0.003061, allocations: 12.91 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.129e-05/0.003133, allocations: 121.7 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.003151, allocations: 384 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.003159, allocations: 4.375 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.003279, allocations: 54.23 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.003286, allocations: 4.188 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003294, allocations: 384 / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.003299, allocations: 8.109 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.003421, allocations: 47.95 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.003719, allocations: 220.1 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.003824, allocations: 54.48 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.003883, allocations: 36.89 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.003896, allocations: 0 / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.003915, allocations: 38.5 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.003916, allocations: 0 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002478/0.004164, allocations: 101.7 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.004191, allocations: 55.41 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.004252, allocations: 109.8 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.004261, allocations: 25.7 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.004295, allocations: 92.09 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.004311, allocations: 7.891 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.004337, allocations: 17.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.004411, allocations: 314.8 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.298e-05/0.004464, allocations: 27.91 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.921e-05/0.004513, allocations: 23.98 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.004616, allocations: 52.75 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.004618, allocations: 0 / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001258/0.004744, allocations: 89.52 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.004757, allocations: 5.969 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.004762, allocations: 4 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.004773, allocations: 0 / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.004841, allocations: 11.98 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.004846, allocations: 0 / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.004874, allocations: 7.984 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.004879, allocations: 4 kB / 1.003 GB, free: 9.773 MB / 0.9636 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 5.109e-05/0.004931, allocations: 109.8 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.004943, allocations: 7.938 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.004967, allocations: 3.625 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.004968, allocations: 4 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.004972, allocations: 0 / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.004976, allocations: 3.984 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.005084, allocations: 132.8 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.005084, allocations: 0 / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.005115, allocations: 11.98 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005117, allocations: 3.938 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.005123, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005124, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.005126, allocations: 3.984 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.005276, allocations: 183.4 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.005285, allocations: 15.92 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.005294, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.005335, allocations: 4 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.005365, allocations: 7.984 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.005367, allocations: 256 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.725e-05/0.005394, allocations: 87.28 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005394, allocations: 4.031 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001545/0.005549, allocations: 4 kB / 1.004 GB, free: 9.125 MB / 0.9636 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.0003052/0.005854, allocations: 0.7123 MB / 1.004 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.005992, allocations: 47.94 kB / 1.004 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.005993, allocations: 4.094 kB / 1.004 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.006044, allocations: 23.98 kB / 1.004 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.006229, allocations: 15.92 kB / 1.004 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.006552, allocations: 143.4 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.006595, allocations: 67.22 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.006617, allocations: 8.062 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.006652, allocations: 12.5 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of SimCode: time 4.5e-07/0.006653, allocations: 0 / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.02076, allocations: 2.181 MB / 1.007 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.012, allocations: 10.44 kB / 1.007 GB, free: 5.953 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.125648531131446]