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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007968/0.007974, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.002179/0.002179, allocations: 192 kB / 16.67 MB, free: 6.391 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.905/2.905, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3218, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002524/0.3244, allocations: 1.445 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.3247, allocations: 95.66 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.3247, allocations: 4 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.3248, allocations: 7.938 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.3248, allocations: 3.938 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.325, allocations: 15.98 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.274e-05/0.3251, allocations: 19.92 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.3252, allocations: 8 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.3253, allocations: 11.92 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.3253, allocations: 15.92 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3253, allocations: 4 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.3254, allocations: 15.98 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3254, allocations: 11.98 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.3255, allocations: 11.94 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3256, allocations: 27.89 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3256, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3256, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3256, allocations: 0 / 1.222 GB, free: 12.62 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.0005028/0.3261, allocations: 347.3 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3262, allocations: 8.031 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.3262, allocations: 34.75 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3264, allocations: 16.92 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3265, allocations: 172.3 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3266, allocations: 384 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3266, allocations: 4.312 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.3268, allocations: 58.22 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3268, allocations: 3.938 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3268, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3268, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.3271, allocations: 51.95 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.3275, allocations: 260.9 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3277, allocations: 66.41 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.3278, allocations: 32.89 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3279, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3279, allocations: 34.5 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3279, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004456/0.3284, allocations: 105.7 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3284, allocations: 51.41 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3285, allocations: 110 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3286, allocations: 25.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.3286, allocations: 88.14 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.3287, allocations: 7.891 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.3287, allocations: 9.719 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3289, allocations: 322.8 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.329, allocations: 20.02 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3291, allocations: 28.03 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.3293, allocations: 52.81 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3294, allocations: 3.938 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002793/0.3296, allocations: 89.66 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3297, allocations: 5.875 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3297, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3297, allocations: 3.938 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3298, allocations: 11.98 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3298, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.3299, allocations: 7.984 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3299, allocations: 4.031 kB / 1.224 GB, free: 10.39 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 8.015e-05/0.33, allocations: 117.8 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.33, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.33, allocations: 7.531 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.33, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3301, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3301, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3303, allocations: 169.6 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3303, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.3304, allocations: 15.98 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3304, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3304, allocations: 3.984 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3304, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3304, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3307, allocations: 179.4 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.3308, allocations: 85 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3308, allocations: 3.984 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.3309, allocations: 8 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.3309, allocations: 3.984 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.331, allocations: 4 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.331, allocations: 83.28 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.331, allocations: 0 / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002254/0.3312, allocations: 8 kB / 1.224 GB, free: 9.613 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.0006373/0.3319, allocations: 0.7091 MB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.3322, allocations: 59.91 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3322, allocations: 0 / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3323, allocations: 27.92 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3326, allocations: 7.938 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.3331, allocations: 159.1 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3335, allocations: 0.6768 MB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.848e-05/0.3335, allocations: 0 / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.3336, allocations: 11.44 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3336, allocations: 0 / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.3543, allocations: 1.468 MB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.65, allocations: 5.547 kB / 1.227 GB, free: 6.488 MB / 0.9825 GB (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 50 --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) 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) Reference file matches