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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00483/0.00483, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001257/0.001257, allocations: 196 kB / 16.68 MB, free: 5.934 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.237/2.237, allocations: 437.1 MB / 0.7106 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 76.11 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.627/0.6287, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001388/0.6301, allocations: 0.5911 MB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000242/0.6304, allocations: 93.69 kB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.375e-05/0.6304, allocations: 0 / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.858e-06/0.6304, allocations: 0 / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.6305, allocations: 0 / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.6306, allocations: 27.86 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.619e-05/0.6307, allocations: 0 / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.6307, allocations: 4 kB / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.6307, allocations: 7.984 kB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.6308, allocations: 4 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.6308, allocations: 0 / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.6309, allocations: 19.92 kB / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.6309, allocations: 3.984 kB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.6309, allocations: 7.938 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.804e-05/0.631, allocations: 11.98 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.631, allocations: 0 / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.631, allocations: 0 / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.631, allocations: 0 / 1.167 GB, free: 2.973 MB / 0.8887 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.0003095/0.6313, allocations: 323.2 kB / 1.167 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.6314, allocations: 12.92 kB / 1.167 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.6314, allocations: 30.75 kB / 1.167 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.6315, allocations: 12.88 kB / 1.167 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.6316, allocations: 164.4 kB / 1.167 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.6316, allocations: 4.375 kB / 1.168 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.6316, allocations: 384 / 1.168 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.6318, allocations: 42.19 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6318, allocations: 7.938 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.6318, allocations: 0 / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.6318, allocations: 0 / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.6319, allocations: 15.98 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.632, allocations: 149.7 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.6322, allocations: 46.59 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.6322, allocations: 12.92 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.6322, allocations: 3.938 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.6323, allocations: 34.5 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6323, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0001861/0.6324, allocations: 61.61 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.6325, allocations: 51.41 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.661e-05/0.6325, allocations: 93.86 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.6326, allocations: 25.7 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.6326, allocations: 84.14 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.6326, allocations: 11.88 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.6327, allocations: 17.72 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6328, allocations: 310.8 kB / 1.168 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.6328, allocations: 7.984 kB / 1.168 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.6328, allocations: 8 kB / 1.168 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.394e-05/0.6329, allocations: 33.05 kB / 1.168 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6329, allocations: 0 / 1.168 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001038/0.633, allocations: 45.69 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6331, allocations: 8 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6331, allocations: 3.938 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6331, allocations: 0 / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.6334, allocations: 47.92 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.6347, allocations: 1.404 MB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.6347, allocations: 7.953 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.6347, allocations: 4.094 kB / 1.17 GB, free: 15.55 MB / 0.9044 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 6.708e-05/0.6348, allocations: 113.8 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.6348, allocations: 8 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.6348, allocations: 7.5 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.6348, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-07/0.6348, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.6348, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.6349, allocations: 153.6 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.635, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.6353, allocations: 59.86 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6353, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.6353, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.6364, allocations: 1.411 MB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6365, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.6366, allocations: 73.03 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.6366, allocations: 81.11 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.6366, allocations: 12.02 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.6367, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.6367, allocations: 8 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.6367, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.6367, allocations: 75.28 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.6367, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001695/0.6369, allocations: 4 kB / 1.172 GB, free: 13.32 MB / 0.9044 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.0003925/0.6373, allocations: 0.6163 MB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.6377, allocations: 63.91 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6378, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.638, allocations: 35.95 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.6381, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.6384, allocations: 126.5 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.6387, allocations: 0.6729 MB / 1.173 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.6387, allocations: 7.984 kB / 1.173 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.6387, allocations: 11.44 kB / 1.173 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6387, allocations: 0 / 1.173 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.884/6.523, allocations: 1.293 MB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/21.93, allocations: 14.47 kB / 1.175 GB, free: 10.52 MB / 0.9044 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=400 --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