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.001405/0.001405, allocations: 108 kB / 15.6 MB, free: 128 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.001334/0.001334, allocations: 195.6 kB / 16.53 MB, free: 6.672 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.772/2.772, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003458/0.003458, allocations: 66.27 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3017, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002622/0.3044, allocations: 1.442 MB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002215/0.3046, allocations: 87.75 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.3046, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.3047, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.969e-05/0.3047, allocations: 3.938 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.3048, allocations: 15.98 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.3049, allocations: 31.91 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/0.305, allocations: 4 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.305, allocations: 15.86 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.3051, allocations: 11.94 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3051, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.472e-05/0.3051, allocations: 15.98 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.3051, allocations: 7.984 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.3052, allocations: 7.938 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.3053, allocations: 39.88 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3053, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.21e-07/0.3053, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.3053, allocations: 0 / 1.066 GB, free: 12.5 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.0003972/0.3057, allocations: 351.6 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3057, allocations: 8.031 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.3058, allocations: 30.75 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.3059, allocations: 16.92 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.306, allocations: 168.3 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3061, allocations: 4.375 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.3061, allocations: 384 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3062, allocations: 58.22 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3063, allocations: 3.938 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.3063, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-06/0.3063, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.3065, allocations: 51.95 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.3068, allocations: 264.9 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.307, allocations: 54.48 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3071, allocations: 28.89 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3071, allocations: 7.984 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3071, allocations: 30.56 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3072, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003761/0.3075, allocations: 101.6 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3076, allocations: 55.53 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.3077, allocations: 109.8 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3077, allocations: 25.7 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.3077, allocations: 89.92 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3078, allocations: 11.84 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.3078, allocations: 17.7 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3079, allocations: 310.8 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.308, allocations: 27.97 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.3081, allocations: 19.98 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3083, allocations: 52.81 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3083, allocations: 3.938 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002435/0.3086, allocations: 89.64 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.3086, allocations: 4 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.3086, allocations: 3.938 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/0.3086, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.3087, allocations: 11.98 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.3087, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.3088, allocations: 11.89 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3088, allocations: 4 kB / 1.068 GB, free: 10.27 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.952e-05/0.3089, allocations: 113.8 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3089, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.3089, allocations: 11.53 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.309, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.309, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-06/0.309, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.3091, allocations: 169.6 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3091, allocations: 0 / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.3092, allocations: 8 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.3092, allocations: 7.984 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3093, allocations: 4 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.3093, allocations: 7.922 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3093, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.3095, allocations: 171.5 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.3096, allocations: 85.03 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.3096, allocations: 4 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.3097, allocations: 8 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.3097, allocations: 3.984 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3097, allocations: 256 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.3098, allocations: 87.28 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3098, allocations: 3.938 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002023/0.31, allocations: 8 kB / 1.068 GB, free: 9.5 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.0005635/0.3106, allocations: 0.7124 MB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3108, allocations: 55.97 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.3108, allocations: 0 / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3109, allocations: 23.98 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3112, allocations: 7.984 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.3116, allocations: 151.2 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3119, allocations: 0.6768 MB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.3119, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3119, allocations: 15.44 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3119, allocations: 3.938 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.544/1.856, allocations: 1.419 MB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.79, allocations: 21.16 kB / 1.071 GB, free: 6.398 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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