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.004889/0.004889, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001161/0.001161, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.462/2.462, allocations: 437 MB / 0.7105 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 68.36 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7922, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002769/0.795, allocations: 1.441 MB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000327/0.7953, allocations: 95.02 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.7954, allocations: 3.938 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.7954, allocations: 0 / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.7955, allocations: 11.92 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.7957, allocations: 15.98 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.653e-05/0.7958, allocations: 27.92 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.7959, allocations: 8 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.753e-05/0.7959, allocations: 11.92 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.796, allocations: 8 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.796, allocations: 0 / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.145e-05/0.7961, allocations: 19.98 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.7961, allocations: 11.92 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.7961, allocations: 3.938 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.7962, allocations: 35.89 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7963, allocations: 3.984 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7963, allocations: 4 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7963, 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.0004358/0.7967, allocations: 345.7 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.7968, allocations: 8.922 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.7968, allocations: 30.75 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.797, allocations: 16.92 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7971, allocations: 168.2 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.7971, allocations: 8.359 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.7971, allocations: 4.375 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.7973, allocations: 58.22 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.7974, allocations: 3.938 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.7974, allocations: 0 / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7974, allocations: 0 / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.7976, allocations: 51.89 kB / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.798, allocations: 264.9 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.7981, allocations: 54.48 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.7982, allocations: 32.89 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.7983, allocations: 0 / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.7983, allocations: 34.56 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.7983, allocations: 0 / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003998/0.7987, allocations: 105.6 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.7987, allocations: 51.41 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.7988, allocations: 105.8 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.7988, allocations: 29.83 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.7989, allocations: 80.14 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.7989, allocations: 11.91 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.799, allocations: 9.719 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7991, allocations: 318.8 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.7992, allocations: 19.98 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.116e-05/0.7993, allocations: 27.97 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.7995, allocations: 56.8 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7995, allocations: 3.938 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002239/0.7997, allocations: 85.44 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7998, allocations: 12.09 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7998, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7998, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.7999, allocations: 11.98 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.7999, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.8, allocations: 8.234 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.8, allocations: 0 / 1.17 GB, free: 15.87 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 6.46e-05/0.8001, allocations: 113.8 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.8001, allocations: 8 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.8001, allocations: 7.531 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8001, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8001, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.8001, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.8003, allocations: 165.6 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8003, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.8004, allocations: 11.98 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8004, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.8004, allocations: 11.98 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8004, allocations: 7.938 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8004, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.8007, allocations: 171.5 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.8007, allocations: 81.02 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.8008, allocations: 7.922 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.8009, allocations: 8.031 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.8009, allocations: 7.984 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.8009, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.801, allocations: 83.28 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.801, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002194/0.8012, allocations: 4 kB / 1.17 GB, free: 15.09 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.0005463/0.8017, allocations: 0.7163 MB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.802, allocations: 51.94 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.802, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.8021, allocations: 28.08 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.8024, allocations: 3.938 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.8029, allocations: 163.9 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.8031, allocations: 0.6807 MB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.8031, allocations: 4.062 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.8032, allocations: 11.44 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8032, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.8201, allocations: 1.448 MB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.735, allocations: 8.219 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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