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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000843/0.000843, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005396/0.005396, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003336, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5915, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001729/0.5933, allocations: 1.169 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.5937, allocations: 84.66 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.5937, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.5937, allocations: 3.938 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.5938, allocations: 3.984 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.594, allocations: 11.98 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.667e-05/0.5941, allocations: 31.86 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.5942, allocations: 7.984 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.5943, allocations: 3.984 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.5943, allocations: 19.92 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.5944, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.371e-05/0.5944, allocations: 8 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.5945, allocations: 7.984 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.5945, allocations: 37.58 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.5946, allocations: 35.88 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5946, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5947, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.5947, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.7794 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.0004468/0.5951, allocations: 341.8 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5952, allocations: 8.031 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.5952, allocations: 34.75 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.5954, allocations: 20.83 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.5955, allocations: 168.3 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.5956, allocations: 4.375 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.5956, allocations: 384 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.5958, allocations: 62.23 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5958, allocations: 7.938 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5959, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5959, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.5961, allocations: 75.88 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.5965, allocations: 260.9 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.5967, allocations: 66.48 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.5968, allocations: 36.89 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.5968, allocations: 4 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.5969, allocations: 38.5 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5969, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000453/0.5973, allocations: 129.5 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.5974, allocations: 55.41 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.5975, allocations: 101.8 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.5975, allocations: 29.7 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.5975, allocations: 88.27 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.5976, allocations: 7.891 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.5976, allocations: 9.719 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.5977, allocations: 314.8 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.5978, allocations: 31.97 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.5979, allocations: 31.98 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.5981, allocations: 68.81 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5982, allocations: 3.938 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002653/0.5984, allocations: 101.6 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5984, allocations: 4 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5985, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5985, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5986, allocations: 15.98 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.5986, allocations: 3.984 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.5987, allocations: 11.98 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.5987, allocations: 4.031 kB / 1.027 GB, free: 12.07 MB / 0.7794 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.0001102/0.5988, allocations: 115.6 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.5989, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.5989, allocations: 7.531 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5989, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5989, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5989, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.5992, allocations: 165.6 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5992, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/0.5993, allocations: 23.92 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.5993, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.5993, allocations: 7.938 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5993, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5993, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.5997, allocations: 195.4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.5997, allocations: 81.09 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.5997, allocations: 3.984 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.5999, allocations: 16.02 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.5999, allocations: 4.25 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.5999, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.6, allocations: 87.28 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6, allocations: 3.938 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002272/0.6002, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 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.0007011/0.6009, allocations: 0.728 MB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.6013, allocations: 67.97 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6013, allocations: 4 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.6014, allocations: 35.98 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.6017, allocations: 7.984 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.6022, allocations: 158.3 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.6025, allocations: 0.677 MB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.6025, allocations: 4 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.6026, allocations: 11.44 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.6026, allocations: 0 / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8458/1.448, allocations: 1.179 MB / 1.03 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.449, allocations: 195.8 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/3.338, allocations: 4.062 kB / 1.03 GB, free: 8.172 MB / 0.7794 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