Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_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.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001058/0.001058, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.2 MB / 0.6644 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.91 kB / 0.8122 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6009, allocations: 140.4 MB / 0.9492 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002277/0.6033, allocations: 1.492 MB / 0.9507 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.6035, allocations: 103.7 kB / 0.9508 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.6035, allocations: 1.375 kB / 0.9508 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.6036, allocations: 0 / 0.9508 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.6036, allocations: 5.312 kB / 0.9508 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.6038, allocations: 12.11 kB / 0.9508 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.6038, allocations: 26.92 kB / 0.9508 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.705e-05/0.6039, allocations: 6.734 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.604, allocations: 8.125 kB / 0.9509 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.066e-05/0.604, allocations: 14.67 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.604, allocations: 6.75 kB / 0.9509 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.75e-05/0.6041, allocations: 15.67 kB / 0.9509 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.6041, allocations: 5.719 kB / 0.9509 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.6041, allocations: 10.38 kB / 0.9509 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/0.6042, allocations: 31.97 kB / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6042, allocations: 0 / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6042, allocations: 1.125 kB / 0.9509 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.6042, allocations: 3.938 kB / 0.9509 GB, free: 7.852 MB / 0.7169 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.0002994/0.6045, allocations: 349.5 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.6046, allocations: 8.281 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.009e-05/0.6046, allocations: 32.19 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.6047, allocations: 16.48 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.342e-05/0.6048, allocations: 169.5 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6048, allocations: 1.719 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.6048, allocations: 5.688 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.605, allocations: 56.64 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.605, allocations: 5.625 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.605, allocations: 7.984 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.605, allocations: 0 / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.6052, allocations: 45.89 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.6055, allocations: 259.5 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.6056, allocations: 55.42 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.6057, allocations: 30.66 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.6058, allocations: 0 / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.6058, allocations: 39.61 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.6058, allocations: 0 / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003624/0.6061, allocations: 104.2 kB / 0.9521 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.6062, allocations: 52.62 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.6062, allocations: 101.5 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.6062, allocations: 29.7 kB / 0.9522 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.6063, allocations: 85.47 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.6063, allocations: 9.156 kB / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.6063, allocations: 19.16 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.543e-05/0.6064, allocations: 312.1 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.6065, allocations: 30.34 kB / 0.9527 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.6066, allocations: 24.5 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.6067, allocations: 54.5 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6068, allocations: 3.938 kB / 0.9528 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002135/0.607, allocations: 74.06 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.607, allocations: 4.938 kB / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.607, allocations: 0 / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.607, allocations: 0 / 0.9528 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.6071, allocations: 19.42 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6071, allocations: 0 / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.6072, allocations: 17.02 kB / 0.9529 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.6072, allocations: 1.062 kB / 0.9529 GB, free: 5.918 MB / 0.7169 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 5.043e-05/0.6073, allocations: 110.9 kB / 0.953 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.6073, allocations: 2.656 kB / 0.953 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.6073, allocations: 11.52 kB / 0.953 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.6073, allocations: 1.375 kB / 0.953 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6073, allocations: 4.234 kB / 0.953 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.6073, allocations: 4 kB / 0.953 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.6075, allocations: 168.8 kB / 0.9532 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6075, allocations: 0 / 0.9532 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.6075, allocations: 10.89 kB / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6076, allocations: 1.25 kB / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.6076, allocations: 0 / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.6076, allocations: 1.375 kB / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6076, allocations: 0 / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.6078, allocations: 186.1 kB / 0.9534 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.6078, allocations: 78.45 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.6079, allocations: 5.25 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.6079, allocations: 9.203 kB / 0.9534 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.608, allocations: 1.375 kB / 0.9534 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.608, allocations: 0 / 0.9534 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.576e-05/0.608, allocations: 91.98 kB / 0.9535 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.608, allocations: 0 / 0.9535 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002053/0.6082, allocations: 6.156 kB / 0.9535 GB, free: 5.211 MB / 0.7169 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.0003946/0.6086, allocations: 0.7092 MB / 0.9542 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.6089, allocations: 53.11 kB / 0.9543 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6089, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.609, allocations: 30.5 kB / 0.9543 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.6092, allocations: 6.281 kB / 0.9543 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.6096, allocations: 157.2 kB / 0.9545 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.218e-05/0.6097, allocations: 0.6816 MB / 0.9551 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.6097, allocations: 0.9062 kB / 0.9551 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.6098, allocations: 20.42 kB / 0.9552 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of SimCode: time 6.22e-07/0.6098, allocations: 0.9375 kB / 0.9552 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.6203, allocations: 1.29 MB / 0.9564 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000124/0.6204, allocations: 201.9 kB / 0.9566 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.176, allocations: 0 / 0.9566 GB, free: 2.68 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches