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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002283/0.002283, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.55 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003113/0.3148, allocations: 1.445 MB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.3151, allocations: 91.72 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.3152, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.3153, allocations: 3.938 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.3153, allocations: 8 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.3156, allocations: 19.92 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.3156, allocations: 19.92 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.3158, allocations: 8 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.3158, allocations: 11.92 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.3159, allocations: 11.94 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3159, allocations: 4 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.848e-05/0.316, allocations: 15.98 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.316, allocations: 7.984 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.316, allocations: 15.92 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3161, allocations: 27.91 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3161, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3162, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3162, allocations: 3.984 kB / 1.065 GB, free: 12.79 MB / 0.8262 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.0004153/0.3166, allocations: 347.7 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3166, allocations: 8.031 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.3167, allocations: 34.75 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.3168, allocations: 12.92 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.317, allocations: 172.3 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.317, allocations: 384 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.317, allocations: 384 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3172, allocations: 62.16 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3172, allocations: 3.938 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3172, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3172, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.3174, allocations: 51.95 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.3178, allocations: 257 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.318, allocations: 62.42 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3181, allocations: 28.89 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3181, allocations: 7.984 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.3181, allocations: 34.56 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3181, allocations: 3.938 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004052/0.3186, allocations: 101.6 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3186, allocations: 55.53 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.3187, allocations: 105.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3187, allocations: 25.7 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.3188, allocations: 92.08 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3188, allocations: 11.83 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3188, allocations: 13.66 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.3189, allocations: 322.8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.319, allocations: 19.98 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.3191, allocations: 23.97 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3193, allocations: 52.81 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3193, allocations: 3.938 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002427/0.3196, allocations: 85.7 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3196, allocations: 4 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3196, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3196, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3198, allocations: 11.98 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3198, allocations: 3.938 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.3198, allocations: 11.89 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3199, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 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 6.609e-05/0.3199, allocations: 121.8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.32, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.32, allocations: 7.531 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.32, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.32, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.32, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3202, allocations: 169.6 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3202, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.3202, allocations: 7.984 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3203, allocations: 8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3203, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3203, allocations: 3.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3203, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.3206, allocations: 175.4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.3206, allocations: 85.05 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3206, allocations: 8.172 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.3207, allocations: 4 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3208, allocations: 11.98 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3208, allocations: 0 / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.3208, allocations: 83.28 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3208, allocations: 0 / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002175/0.321, allocations: 4 kB / 1.068 GB, free: 9.793 MB / 0.8262 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.0005101/0.3216, allocations: 0.7146 MB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.3218, allocations: 59.91 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3218, allocations: 3.938 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.322, allocations: 23.98 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.3223, allocations: 3.922 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.3228, allocations: 155.2 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.323, allocations: 0.6807 MB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.323, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.323, allocations: 7.438 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.323, allocations: 0 / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.3401, allocations: 1.431 MB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.557, allocations: 10.86 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB (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 50 --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) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches