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: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 102 kB / 16.35 MB, free: 5.824 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.001194/0.001194, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.161/2.161, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.88 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2457, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001587/0.2473, allocations: 0.59 MB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002515/0.2475, allocations: 103.7 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.2476, allocations: 0 / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.2476, allocations: 0 / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.2476, allocations: 0 / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.2478, allocations: 19.91 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.497e-05/0.2479, allocations: 8 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.2479, allocations: 7.984 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.2479, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.248, allocations: 4 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.248, allocations: 0 / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.468e-05/0.2481, allocations: 15.98 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2481, allocations: 3.938 kB / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.2481, allocations: 0 / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.888e-05/0.2482, allocations: 27.91 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2482, allocations: 4 kB / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2482, allocations: 0 / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2482, allocations: 0 / 1.02 GB, free: 9.055 MB / 0.795 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.0002946/0.2485, allocations: 315.5 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2486, allocations: 12.92 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.2487, allocations: 12.92 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.669e-05/0.2488, allocations: 168.3 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2488, allocations: 384 / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.2488, allocations: 4.375 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2489, allocations: 38.25 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2489, allocations: 8.109 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.249, allocations: 7.938 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.249, allocations: 0 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.825e-05/0.249, allocations: 11.98 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.2492, allocations: 153.7 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.2493, allocations: 42.5 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.2494, allocations: 16.91 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2494, allocations: 4 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2494, allocations: 30.56 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.2494, allocations: 0 / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.2496, allocations: 57.61 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.2496, allocations: 59.34 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.847e-05/0.2497, allocations: 89.86 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.2497, allocations: 25.7 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.2497, allocations: 80.14 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2497, allocations: 15.84 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.2498, allocations: 9.719 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.2499, allocations: 314.8 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/0.2499, allocations: 7.984 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.2499, allocations: 8 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/0.25, allocations: 24.84 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.25, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.2501, allocations: 49.67 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2501, allocations: 7.938 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2501, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2502, allocations: 3.938 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.2505, allocations: 43.94 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.2515, allocations: 1.405 MB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.2516, allocations: 12.02 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2516, allocations: 4 kB / 1.022 GB, free: 5.68 MB / 0.795 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.132e-05/0.2516, allocations: 113.8 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.2517, allocations: 7.844 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.2517, allocations: 11.48 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2517, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-07/0.2517, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2517, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.784e-05/0.2518, allocations: 161.6 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2518, allocations: 0 / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.2521, allocations: 47.92 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2521, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.2521, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009404/0.2531, allocations: 1.412 MB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2531, allocations: 0 / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.2532, allocations: 73.23 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.2532, allocations: 81.11 kB / 1.024 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.2532, allocations: 7.938 kB / 1.024 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/0.2532, allocations: 0 / 1.024 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.2533, allocations: 0 / 1.024 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2533, allocations: 7.984 kB / 1.024 GB, free: 3.531 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.325e-05/0.2533, allocations: 83.22 kB / 1.024 GB, free: 3.449 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2533, allocations: 0 / 1.024 GB, free: 3.449 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000176/0.2535, allocations: 0 / 1.024 GB, free: 3.449 MB / 0.795 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.0001008/0.2536, allocations: 103.2 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.254, allocations: 55.92 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.254, allocations: 4 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.2542, allocations: 39.95 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.2543, allocations: 4 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.2546, allocations: 93.5 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.2548, allocations: 0.677 MB / 1.025 GB, free: 2.418 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.895e-05/0.2548, allocations: 11.98 kB / 1.025 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.2549, allocations: 7.438 kB / 1.025 GB, free: 2.398 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.2549, allocations: 0 / 1.025 GB, free: 2.398 MB / 0.795 GB Notification: Performance of Templates: time 0.001994/0.2569, allocations: 412.8 kB / 1.026 GB, free: 2 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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