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.004956/0.004956, allocations: 96.11 kB / 15.73 MB, free: 6.039 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.001437/0.001437, allocations: 202 kB / 16.68 MB, free: 5.969 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.934/2.934, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3331, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002609/0.3357, allocations: 1.445 MB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000304/0.3361, allocations: 91.73 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.3361, allocations: 0 / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.3361, allocations: 7.938 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.3362, allocations: 3.984 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.3364, allocations: 15.92 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.3365, allocations: 23.92 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.3366, allocations: 8 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.3366, allocations: 15.92 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.3367, allocations: 15.92 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3367, allocations: 4 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.3368, allocations: 11.98 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.3368, allocations: 4 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.3368, allocations: 15.92 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.337, allocations: 31.89 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.337, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.337, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.337, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 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.0004882/0.3375, allocations: 347.3 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3375, allocations: 8.031 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.3376, allocations: 30.75 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.3377, allocations: 12.92 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3379, allocations: 172.3 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3379, allocations: 384 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3379, allocations: 4.359 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3381, allocations: 66.17 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3381, allocations: 3.938 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3382, allocations: 0 / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.3382, allocations: 0 / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.3384, allocations: 47.94 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.3388, allocations: 265 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.339, allocations: 58.42 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3391, allocations: 28.89 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3391, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3392, allocations: 30.56 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3392, allocations: 4 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005904/0.3398, allocations: 101.6 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3398, allocations: 59.28 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.34, allocations: 105.8 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.34, allocations: 29.64 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.3401, allocations: 92.27 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.3401, allocations: 3.953 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.3402, allocations: 13.7 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3404, allocations: 318.8 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3405, allocations: 23.97 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3407, allocations: 19.98 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.341, allocations: 52.88 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.341, allocations: 3.938 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003895/0.3414, allocations: 85.59 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3415, allocations: 4 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3415, allocations: 8.016 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3415, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3417, allocations: 15.92 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3417, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.3418, allocations: 7.984 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3418, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 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 0.0001074/0.3419, allocations: 117.8 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.342, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.342, allocations: 11.53 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.342, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.342, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.342, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3423, allocations: 177.6 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3423, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3424, allocations: 7.984 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3424, allocations: 4 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3425, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3425, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3425, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.3429, allocations: 179.4 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.343, allocations: 85.3 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.343, allocations: 0 / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3431, allocations: 15.98 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.3432, allocations: 11.97 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3432, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.3433, allocations: 79.28 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3433, allocations: 0 / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003692/0.3437, allocations: 8 kB / 1.224 GB, free: 9.602 MB / 0.9825 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.0007988/0.3445, allocations: 0.7129 MB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.3449, allocations: 55.88 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3449, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.3451, allocations: 28.08 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3455, allocations: 7.922 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.3462, allocations: 155 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3465, allocations: 0.6768 MB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.3466, allocations: 0 / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.3466, allocations: 15.5 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3467, allocations: 0 / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.829/1.176, allocations: 1.469 MB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.74, allocations: 7.922 kB / 1.227 GB, free: 6.473 MB / 0.9825 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