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.008399/0.008399, allocations: 97.06 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.002032/0.002032, allocations: 195 kB / 16.67 MB, free: 5.934 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.592/2.592, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7614, allocations: 151.6 MB / 1.166 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002738/0.7642, allocations: 1.444 MB / 1.168 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.7645, allocations: 95.03 kB / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.7646, allocations: 0 / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.7646, allocations: 3.938 kB / 1.168 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.7647, allocations: 7.938 kB / 1.168 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.7649, allocations: 19.91 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.765, allocations: 27.92 kB / 1.168 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.765, allocations: 4 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.7651, allocations: 11.94 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.7651, allocations: 11.97 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.7652, allocations: 7.938 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.7652, allocations: 15.98 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.7652, allocations: 0 / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.7653, allocations: 19.92 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.7654, allocations: 31.91 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7654, allocations: 0 / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7654, allocations: 0 / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7654, allocations: 0 / 1.168 GB, free: 2.242 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.000507/0.766, allocations: 351 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.766, allocations: 8.922 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.766, allocations: 38.73 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.7662, allocations: 12.92 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.7664, allocations: 168.4 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.7664, allocations: 4.312 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.7664, allocations: 4.375 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.7666, allocations: 58.2 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.7666, allocations: 3.938 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.7666, allocations: 4 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7666, allocations: 0 / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.7669, allocations: 47.95 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.7673, allocations: 268.9 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.7675, allocations: 58.42 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.7676, allocations: 32.89 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.7677, allocations: 4 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.7677, allocations: 30.56 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.7677, allocations: 0 / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000437/0.7682, allocations: 97.62 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.7682, allocations: 63.47 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7683, allocations: 105.8 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.7683, allocations: 25.7 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.7684, allocations: 80.14 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.7684, allocations: 11.89 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.7685, allocations: 13.72 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7686, allocations: 314.8 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.7688, allocations: 23.98 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.7689, allocations: 27.97 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.7691, allocations: 48.81 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.7691, allocations: 7.875 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002704/0.7694, allocations: 81.72 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7694, allocations: 4 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7694, allocations: 7.922 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.7694, allocations: 0 / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.7695, allocations: 8 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.7696, allocations: 3.984 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.7696, allocations: 11.95 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.7696, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 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 0.0001107/0.7697, allocations: 117.8 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.7698, allocations: 4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.7698, allocations: 7.781 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.7698, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7698, allocations: 4 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.7698, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.7701, allocations: 165.6 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7701, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.7702, allocations: 15.98 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7702, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.7702, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7702, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7702, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.7705, allocations: 183.4 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.7706, allocations: 85.09 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.7706, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.7707, allocations: 7.984 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.7708, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.7708, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.7708, allocations: 91.27 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.28e-06/0.7708, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002194/0.7711, allocations: 11.88 kB / 1.17 GB, free: 15.24 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.0006906/0.7718, allocations: 0.7099 MB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.772, allocations: 55.92 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.7721, allocations: 4 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.7722, allocations: 23.97 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.7725, allocations: 10.44 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.773, allocations: 143.1 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.7733, allocations: 0.6808 MB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.7734, allocations: 7.922 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.7734, allocations: 11.44 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.7734, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.7961, allocations: 1.445 MB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.783, allocations: 14.89 kB / 1.173 GB, free: 12.13 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