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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001204/0.001204, 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.001139/0.001139, allocations: 192.1 kB / 16.14 MB, free: 6.711 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.24/1.24, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7391, allocations: 140.4 MB / 0.949 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002249/0.7414, allocations: 1.503 MB / 0.9505 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002139/0.7416, allocations: 90.73 kB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.7417, allocations: 5.344 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.7417, allocations: 0 / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.7417, allocations: 4 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.7419, allocations: 19.86 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.212e-05/0.7419, allocations: 13.47 kB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.742, allocations: 14.94 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.742, allocations: 7.531 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.7421, allocations: 12.11 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.7421, allocations: 9.281 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.324e-05/0.7421, allocations: 15.02 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.7421, allocations: 1.375 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.7422, allocations: 10.72 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.073e-05/0.7422, allocations: 36.33 kB / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7422, allocations: 0 / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.7422, allocations: 0 / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.7422, allocations: 0 / 0.9507 GB, free: 7.734 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.0002964/0.7425, allocations: 340.5 kB / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.7426, allocations: 9.562 kB / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.388e-05/0.7426, allocations: 36.38 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.7428, allocations: 15.58 kB / 0.9511 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.193e-05/0.7428, allocations: 178.5 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.7428, allocations: 1.688 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.7429, allocations: 4.312 kB / 0.9513 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.743, allocations: 54.33 kB / 0.9513 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.743, allocations: 3.938 kB / 0.9513 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.743, allocations: 0 / 0.9513 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-06/0.7431, allocations: 1.906 kB / 0.9513 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.7432, allocations: 62.23 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.7435, allocations: 254.9 kB / 0.9517 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.7437, allocations: 58.81 kB / 0.9517 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.7438, allocations: 30.38 kB / 0.9517 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.7438, allocations: 0 / 0.9517 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.7438, allocations: 35.97 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7438, allocations: 0 / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.7442, allocations: 108.1 kB / 0.9519 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.7442, allocations: 56.91 kB / 0.9519 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.7443, allocations: 100.9 kB / 0.952 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.7443, allocations: 25.7 kB / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.7443, allocations: 89.5 kB / 0.9521 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.7443, allocations: 5.281 kB / 0.9521 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.7444, allocations: 12.47 kB / 0.9522 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.7444, allocations: 316.2 kB / 0.9525 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.7445, allocations: 28.28 kB / 0.9525 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.7446, allocations: 25.8 kB / 0.9525 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.7448, allocations: 58.86 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.7448, allocations: 3.938 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.745, allocations: 80.41 kB / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.7451, allocations: 5.031 kB / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.7451, allocations: 0 / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.7451, allocations: 1.281 kB / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.7452, allocations: 10.33 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.7452, allocations: 5.234 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.7452, allocations: 8.141 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.7452, allocations: 1.406 kB / 0.9527 GB, free: 5.797 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 4.143e-05/0.7453, allocations: 119.2 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.7453, allocations: 1.438 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.7453, allocations: 9.078 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.7454, allocations: 0 / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7454, allocations: 1.188 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-06/0.7454, allocations: 3.938 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.7455, allocations: 169 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7455, allocations: 0 / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.7456, allocations: 15.3 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.7456, allocations: 0 / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.7456, allocations: 5.281 kB / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7456, allocations: 0 / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7456, allocations: 0 / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.7458, allocations: 179.7 kB / 0.9532 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.7458, allocations: 81.14 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.7459, allocations: 1.438 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.746, allocations: 8.266 kB / 0.9532 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.746, allocations: 2.219 kB / 0.9532 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.746, allocations: 0 / 0.9532 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.394e-05/0.746, allocations: 93.39 kB / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.746, allocations: 0 / 0.9533 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002045/0.7462, allocations: 4.406 kB / 0.9533 GB, free: 5.09 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.0003558/0.7466, allocations: 0.7165 MB / 0.954 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.7468, allocations: 53.3 kB / 0.9541 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.7468, allocations: 3.938 kB / 0.9541 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.7469, allocations: 32.72 kB / 0.9541 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.7472, allocations: 0.8438 kB / 0.9541 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.7475, allocations: 158.5 kB / 0.9543 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.734e-05/0.7476, allocations: 0.6789 MB / 0.9549 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.7476, allocations: 0 / 0.9549 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.7477, allocations: 17.23 kB / 0.955 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.7477, allocations: 0 / 0.955 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.402/2.15, allocations: 1.244 MB / 0.9562 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/2.15, allocations: 203.6 kB / 0.9564 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/4.823, allocations: 0 / 0.9564 GB, free: 2.57 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