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.001242/0.001242, allocations: 108 kB / 15.6 MB, free: 132 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.001149/0.001149, allocations: 197.2 kB / 16.53 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 62.91 kB / 0.8992 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3378, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003049/0.3409, allocations: 1.453 MB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002868/0.3412, allocations: 91.75 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.3413, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.3413, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.3414, allocations: 3.938 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3416, allocations: 15.97 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.3417, allocations: 27.92 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.3418, allocations: 4 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.3418, allocations: 15.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.3419, allocations: 11.92 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.3419, allocations: 4 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.6e-05/0.3419, allocations: 15.98 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.342, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.342, allocations: 11.94 kB / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3421, allocations: 35.88 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3421, allocations: 0 / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3421, allocations: 0 / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.3422, allocations: 0 / 1.055 GB, free: 6.527 MB / 0.8106 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.0004287/0.3426, allocations: 343.7 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3426, allocations: 11.97 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.975e-05/0.3427, allocations: 34.75 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3429, allocations: 12.92 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.343, allocations: 168.4 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.343, allocations: 384 / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.343, allocations: 4.375 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.3432, allocations: 54.23 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3432, allocations: 3.938 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3433, allocations: 0 / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3433, allocations: 4 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.3435, allocations: 51.94 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.3439, allocations: 264.8 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3441, allocations: 54.47 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3442, allocations: 28.91 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3442, allocations: 3.938 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3442, allocations: 42.55 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.3443, allocations: 0 / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004236/0.3447, allocations: 101.7 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.3447, allocations: 55.41 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.3448, allocations: 105.8 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3448, allocations: 33.7 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.3449, allocations: 84.08 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.3449, allocations: 11.83 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.3449, allocations: 17.72 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3451, allocations: 314.9 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.3452, allocations: 23.97 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.3453, allocations: 23.98 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.3455, allocations: 48.81 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3455, allocations: 11.98 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002419/0.3457, allocations: 77.59 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3458, allocations: 4 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3458, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3458, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3459, allocations: 11.98 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3459, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.346, allocations: 20.02 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.346, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 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.611e-05/0.3461, allocations: 109.8 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.3461, allocations: 7.906 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.3461, allocations: 3.531 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3461, allocations: 0 / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3462, allocations: 4.234 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3462, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3463, allocations: 173.6 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3463, allocations: 4 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.3464, allocations: 11.98 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3464, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3464, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3464, allocations: 3.938 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3464, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.3467, allocations: 183.4 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.3468, allocations: 77.11 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.3468, allocations: 4 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.3469, allocations: 7.984 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.3469, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3469, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.347, allocations: 91.22 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.347, allocations: 3.938 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002129/0.3472, allocations: 8.031 kB / 1.057 GB, free: 3.531 MB / 0.8106 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.0005156/0.3477, allocations: 0.7115 MB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.348, allocations: 55.97 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.348, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3481, allocations: 27.97 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.3484, allocations: 8 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.3489, allocations: 151.2 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.3491, allocations: 0.6768 MB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.3491, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.3492, allocations: 15.44 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3492, allocations: 0 / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.3689, allocations: 1.432 MB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/7.582, allocations: 13.44 kB / 1.06 GB, free: 444 kB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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