Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_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.001285/0.001285, 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.001308/0.001308, allocations: 196 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.297/1.297, 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 10.1.0-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 72.12 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6157, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001734/0.6174, allocations: 0.6606 MB / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003/0.6178, allocations: 95.77 kB / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-06/0.6178, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.6178, allocations: 0 / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.711e-05/0.6178, allocations: 3.938 kB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.618, allocations: 19.94 kB / 1.017 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.81e-05/0.6181, allocations: 7.984 kB / 1.017 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.6181, allocations: 0 / 1.017 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.6181, allocations: 4 kB / 1.017 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.6182, allocations: 11.92 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.6182, allocations: 4 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.6183, allocations: 7.984 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.6183, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.6183, allocations: 8 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.992e-05/0.6184, allocations: 11.97 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6184, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.71e-07/0.6184, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.6184, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 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.0003209/0.6187, allocations: 323.5 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6188, allocations: 15.95 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.6188, allocations: 30.75 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.6189, allocations: 12.92 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.727e-05/0.619, allocations: 164.4 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6191, allocations: 384 / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.6191, allocations: 4.375 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.6192, allocations: 46.19 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6192, allocations: 3.938 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.6192, allocations: 0 / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6192, allocations: 0 / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.6193, allocations: 15.98 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.6195, allocations: 149.7 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.6196, allocations: 42.61 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.6197, allocations: 16.84 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.6197, allocations: 0 / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6197, allocations: 34.56 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.6197, allocations: 0 / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.6199, allocations: 65.61 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.62, allocations: 51.41 kB / 1.018 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.537e-05/0.62, allocations: 89.86 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.62, allocations: 25.7 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.6201, allocations: 84.12 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.6201, allocations: 6.156 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.6201, allocations: 21.7 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6202, allocations: 310.8 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.6203, allocations: 11.94 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.6203, allocations: 11.98 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.6204, allocations: 24.78 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6204, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001029/0.6205, allocations: 49.69 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.6205, allocations: 4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6205, allocations: 3.938 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.6206, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.6209, allocations: 47.92 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.6222, allocations: 1.318 MB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.6223, allocations: 4 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.6223, allocations: 8.094 kB / 1.02 GB, free: 14.57 MB / 0.7794 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.6224, allocations: 118.3 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.6224, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.6224, allocations: 3.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.6224, allocations: 3.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.6224, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6224, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.6226, allocations: 165.4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6226, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.6229, allocations: 51.92 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.623, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.623, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.624, allocations: 1.298 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.624, allocations: 3.938 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.6242, allocations: 81.08 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.6242, allocations: 81.02 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-06/0.6242, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.887e-05/0.6243, allocations: 3.984 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.6243, allocations: 8.094 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.6243, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.6243, allocations: 75.28 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6243, allocations: 0 / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001926/0.6245, allocations: 7.938 kB / 1.022 GB, free: 12.45 MB / 0.7794 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003863/0.6249, allocations: 0.6164 MB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.6253, allocations: 59.91 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6254, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.6256, allocations: 43.95 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.6258, allocations: 5.719 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.6261, allocations: 132.4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.6263, allocations: 0.6692 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.6264, allocations: 8 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.6264, allocations: 11.42 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6264, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.6375, allocations: 1.121 MB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.6378, allocations: 243.7 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.345, allocations: 2.531 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches