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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001329/0.001329, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 61.41 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3002, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003169/0.3034, allocations: 1.506 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003115/0.3037, allocations: 99.75 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.3038, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.3038, allocations: 3.984 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.3039, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.3041, allocations: 11.94 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.689e-05/0.3041, allocations: 27.91 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.114e-05/0.3042, allocations: 4 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.3043, allocations: 15.98 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.3043, allocations: 15.86 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3043, allocations: 0 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.3044, allocations: 15.98 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.3044, allocations: 4 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.3045, allocations: 7.938 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.3046, allocations: 35.88 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3046, allocations: 0 / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3046, allocations: 3.938 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3046, allocations: 0 / 1.054 GB, free: 6.418 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.0004454/0.3051, allocations: 347.7 kB / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3051, allocations: 11.97 kB / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.3051, allocations: 34.75 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.3053, allocations: 8.922 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3055, allocations: 168.4 kB / 1.054 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3055, allocations: 4.375 kB / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3055, allocations: 384 / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3057, allocations: 58.23 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3057, allocations: 3.938 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.3057, allocations: 0 / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3057, allocations: 4 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.306, allocations: 51.88 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.3063, allocations: 264.8 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3065, allocations: 62.47 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.3066, allocations: 24.91 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3067, allocations: 0 / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3067, allocations: 38.5 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 4.619e-06/0.3067, allocations: 4 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003887/0.3071, allocations: 93.62 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.3071, allocations: 59.41 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.3072, allocations: 109.8 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3073, allocations: 29.7 kB / 1.055 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.3073, allocations: 80.27 kB / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.3073, allocations: 15.83 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.3074, allocations: 17.72 kB / 1.055 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3075, allocations: 310.8 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3076, allocations: 23.97 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/0.3077, allocations: 23.98 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.3079, allocations: 60.8 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3079, allocations: 3.938 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003135/0.3082, allocations: 73.66 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3082, allocations: 4 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3083, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3083, allocations: 4.031 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3084, allocations: 15.98 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3084, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.3085, allocations: 11.98 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3085, allocations: 0 / 1.056 GB, free: 4.199 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 7.269e-05/0.3086, allocations: 109.8 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.3086, allocations: 7.906 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.3086, allocations: 15.45 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3086, allocations: 7.984 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3086, allocations: 3.938 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3087, allocations: 0 / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.3088, allocations: 165.6 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3088, allocations: 0 / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.3089, allocations: 11.98 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3089, allocations: 0 / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3089, allocations: 3.938 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.309, allocations: 0 / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.309, allocations: 0 / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.3092, allocations: 183.4 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.3093, allocations: 77.11 kB / 1.056 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3093, allocations: 4 kB / 1.056 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.3094, allocations: 7.984 kB / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.3094, allocations: 0 / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3094, allocations: 4.031 kB / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.3095, allocations: 95.52 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.513e-06/0.3095, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002128/0.3097, allocations: 7.938 kB / 1.057 GB, free: 3.414 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.0005161/0.3102, allocations: 0.7084 MB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3105, allocations: 47.95 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3105, allocations: 0 / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3106, allocations: 31.91 kB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.3109, allocations: 13.7 kB / 1.057 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.3114, allocations: 145 kB / 1.057 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3116, allocations: 0.677 MB / 1.058 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.3117, allocations: 8 kB / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.3117, allocations: 11.44 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3117, allocations: 3.938 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.3328, allocations: 1.255 MB / 1.059 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/0.3332, allocations: 204.8 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.024, allocations: 0 / 1.06 GB, free: 268 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