Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009453/0.009452, allocations: 99.97 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 190.4 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 64.12 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7891/0.7905, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002465/0.793, allocations: 1.445 MB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002662/0.7933, allocations: 87.09 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.7933, allocations: 0 / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.7934, allocations: 3.938 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.7935, allocations: 7.938 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.7936, allocations: 19.97 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.879e-05/0.7937, allocations: 27.92 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.7938, allocations: 7.984 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.7939, allocations: 11.94 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.7939, allocations: 3.984 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.7939, allocations: 4 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.794, allocations: 15.98 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.794, allocations: 7.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.7941, allocations: 15.94 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.7942, allocations: 35.88 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7942, allocations: 4 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7942, allocations: 0 / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.7942, allocations: 0 / 1.168 GB, free: 2.082 MB / 0.8887 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.0004082/0.7946, allocations: 351 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7947, allocations: 12.92 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.7947, allocations: 38.69 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.7949, allocations: 12.92 kB / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.795, allocations: 172.3 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.795, allocations: 384 / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.795, allocations: 4.375 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.7952, allocations: 50.23 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.7952, allocations: 3.938 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7953, allocations: 8 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.7953, allocations: 0 / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.7955, allocations: 47.94 kB / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.7959, allocations: 260.9 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.7961, allocations: 62.41 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.7962, allocations: 28.91 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.7962, allocations: 4 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.7962, allocations: 30.56 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7962, allocations: 0 / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004353/0.7967, allocations: 109.5 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.7967, allocations: 59.52 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.7968, allocations: 101.9 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.7968, allocations: 25.7 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.7969, allocations: 88.12 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.7969, allocations: 3.953 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.797, allocations: 13.72 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7971, allocations: 318.8 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.7972, allocations: 27.97 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.7973, allocations: 19.98 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.7975, allocations: 52.8 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.7975, allocations: 3.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002467/0.7978, allocations: 85.66 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7978, allocations: 4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.7978, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7978, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.7979, allocations: 11.98 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.798, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.798, allocations: 15.94 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.7981, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 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 7.923e-05/0.7981, allocations: 117.8 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.7982, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.7982, allocations: 7.516 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7982, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7982, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.7982, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.7984, allocations: 173.8 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.7984, allocations: 4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.7985, allocations: 11.98 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7985, allocations: 4 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.7985, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7985, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7985, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.7988, allocations: 179.4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.7989, allocations: 89.09 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.7989, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.799, allocations: 7.984 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.7991, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.7991, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.7991, allocations: 87.27 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7991, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002339/0.7994, allocations: 7.938 kB / 1.17 GB, free: 15.08 MB / 0.9044 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.0005265/0.7999, allocations: 0.7124 MB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.8002, allocations: 55.92 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8002, allocations: 4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.8003, allocations: 23.97 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.8006, allocations: 7.984 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.801, allocations: 143.1 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.8012, allocations: 0.6847 MB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.8013, allocations: 0 / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.8013, allocations: 11.38 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.8013, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.8184, allocations: 1.439 MB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.752, allocations: 23.39 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches