Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_11_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.001312/0.001312, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.604/2.604, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 72.48 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2446, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001558/0.2461, allocations: 0.5989 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.2464, allocations: 103.7 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.2464, allocations: 0 / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.2465, allocations: 0 / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.301e-05/0.2465, allocations: 0 / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.2467, allocations: 11.92 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.854e-05/0.2467, allocations: 8 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.2467, allocations: 8 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.2468, allocations: 0 / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.2468, allocations: 15.91 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.2468, allocations: 0 / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.452e-05/0.2469, allocations: 15.98 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.2469, allocations: 3.938 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.2469, allocations: 0 / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.009e-05/0.247, allocations: 19.98 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.247, allocations: 0 / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.247, allocations: 0 / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.247, allocations: 0 / 1.065 GB, free: 13.42 MB / 0.8262 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.0003009/0.2473, allocations: 315.6 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2474, allocations: 12.03 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.2474, allocations: 34.75 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.2475, allocations: 8.922 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.218e-05/0.2476, allocations: 164.3 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2477, allocations: 384 / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.2477, allocations: 4.375 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2478, allocations: 46.19 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2478, allocations: 3.938 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.2478, allocations: 3.984 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.2478, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.2479, allocations: 11.98 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.248, allocations: 149.7 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.2482, allocations: 42.59 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.2483, allocations: 20.86 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2483, allocations: 3.984 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2483, allocations: 30.56 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2483, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000182/0.2485, allocations: 57.61 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.2485, allocations: 51.41 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.2486, allocations: 93.86 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2486, allocations: 29.7 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.2486, allocations: 84.12 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.2487, allocations: 16.03 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.2487, allocations: 9.719 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2488, allocations: 318.8 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.2489, allocations: 11.92 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.2489, allocations: 4.188 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.249, allocations: 28.92 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.249, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/0.2491, allocations: 45.69 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2491, allocations: 4 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2491, allocations: 3.938 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2491, allocations: 11.92 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.2495, allocations: 43.94 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.2508, allocations: 1.396 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.2508, allocations: 12.12 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.2508, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 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.929e-05/0.2509, allocations: 109.8 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.2509, allocations: 4 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.2509, allocations: 7.438 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2509, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2509, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.2509, allocations: 3.938 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.251, allocations: 161.6 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2511, allocations: 0 / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.2514, allocations: 47.92 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2514, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.2514, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.2526, allocations: 1.416 MB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2526, allocations: 0 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.2527, allocations: 73.25 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.2528, allocations: 81.09 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-06/0.2528, allocations: 7.938 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.2528, allocations: 0 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.2528, allocations: 0 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2528, allocations: 4 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.772e-05/0.2529, allocations: 75.28 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2529, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001808/0.2531, allocations: 8 kB / 1.07 GB, free: 7.777 MB / 0.8262 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.0003929/0.2535, allocations: 0.6142 MB / 1.07 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.2539, allocations: 63.91 kB / 1.07 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2539, allocations: 0 / 1.07 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.2541, allocations: 43.89 kB / 1.07 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.2542, allocations: 0 / 1.07 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.2546, allocations: 134.5 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.2548, allocations: 0.6768 MB / 1.071 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.2549, allocations: 4 kB / 1.071 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.2549, allocations: 7.438 kB / 1.071 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2549, allocations: 3.938 kB / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2626/0.5175, allocations: 1.248 MB / 1.072 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.94/20.46, allocations: 12.52 kB / 1.073 GB, free: 5 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches