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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008448/0.008448, allocations: 101.1 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.001719/0.001719, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.19 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2293, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00214/0.2315, allocations: 1.446 MB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.2317, allocations: 84.66 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.2318, allocations: 0 / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.2318, allocations: 3.938 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.2319, allocations: 3.938 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.232, allocations: 19.97 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.2321, allocations: 31.92 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.2322, allocations: 11.98 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.445e-05/0.2322, allocations: 3.938 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.2323, allocations: 15.92 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2323, allocations: 7.938 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.202e-05/0.2324, allocations: 15.98 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.2324, allocations: 4 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.2324, allocations: 7.938 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.341e-05/0.2325, allocations: 35.88 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2325, allocations: 0 / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2325, allocations: 4 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2325, allocations: 0 / 1.089 GB, free: 352 kB / 0.8419 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.0004005/0.2329, allocations: 342.3 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.233, allocations: 8.031 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.233, allocations: 34.75 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2332, allocations: 12.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2333, allocations: 180.8 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2333, allocations: 384 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.2333, allocations: 4.375 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2335, allocations: 54.23 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2335, allocations: 3.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.2335, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2336, allocations: 7.984 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.2338, allocations: 43.95 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.2341, allocations: 265.2 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.2343, allocations: 58.42 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.2344, allocations: 24.91 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.2344, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.2345, allocations: 46.48 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2345, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004114/0.2349, allocations: 101.6 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.2349, allocations: 55.41 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.235, allocations: 97.86 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.235, allocations: 33.83 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.2351, allocations: 88.06 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.2351, allocations: 7.906 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2351, allocations: 13.72 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.2352, allocations: 310.8 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.2353, allocations: 23.97 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2354, allocations: 31.97 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.2356, allocations: 48.81 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2356, allocations: 4.188 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000243/0.2359, allocations: 81.59 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2359, allocations: 8.094 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2359, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2359, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.236, allocations: 15.92 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.2361, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.2361, allocations: 15.89 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.2361, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 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 6.822e-05/0.2362, allocations: 109.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.2362, allocations: 8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.2363, allocations: 11.52 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2363, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2363, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2363, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.2365, allocations: 165.6 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2365, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.101e-05/0.2365, allocations: 11.98 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2366, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2366, allocations: 4 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2366, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2366, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.2369, allocations: 179.4 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.2369, allocations: 84.95 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2369, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.237, allocations: 12.02 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.2371, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2371, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.2371, allocations: 91.27 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2371, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000218/0.2373, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 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.0005521/0.2379, allocations: 0.7124 MB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.2382, allocations: 47.95 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2382, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2383, allocations: 32.06 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2386, allocations: 7.984 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.2391, allocations: 147.2 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2394, allocations: 0.6768 MB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.2394, allocations: 4.062 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.2395, allocations: 23.36 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.2395, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.2677, allocations: 1.455 MB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.739, allocations: 4 kB / 1.095 GB, free: 10.24 MB / 0.8575 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