Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_9_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_9_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.0007567/0.0007569, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009136/0.0009136, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.9 MB / 0.666 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 12 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9099/0.9103, allocations: 142.4 MB / 0.9545 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006387/0.9109, allocations: 323.5 kB / 0.9548 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.9112, allocations: 88.16 kB / 0.9548 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.201e-05/0.9112, allocations: 1.562 kB / 0.9548 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.265e-06/0.9112, allocations: 3.938 kB / 0.9549 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.143e-05/0.9113, allocations: 0 / 0.9549 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.9114, allocations: 12.45 kB / 0.9549 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.487e-05/0.9114, allocations: 2.281 kB / 0.9549 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.086e-05/0.9115, allocations: 1.844 kB / 0.9549 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.503e-05/0.9115, allocations: 14.06 kB / 0.9549 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.9115, allocations: 1.844 kB / 0.9549 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.9116, allocations: 0 / 0.9549 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.47e-05/0.9116, allocations: 14.89 kB / 0.9549 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.52e-06/0.9116, allocations: 5.062 kB / 0.9549 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.9116, allocations: 26.73 kB / 0.9549 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.582e-05/0.9117, allocations: 10.98 kB / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.9117, allocations: 1.031 kB / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9117, allocations: 0 / 0.9549 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.9117, allocations: 0 / 0.9549 GB, free: 7.348 MB / 0.7169 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.0001977/0.9119, allocations: 319.6 kB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.912, allocations: 9.781 kB / 0.9553 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.9121, allocations: 12 kB / 0.9553 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.954e-05/0.9122, allocations: 164.1 kB / 0.9554 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.9122, allocations: 4.969 kB / 0.9554 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.9122, allocations: 0.75 kB / 0.9554 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.9123, allocations: 39.47 kB / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.9124, allocations: 0 / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.9124, allocations: 7.938 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9124, allocations: 1.656 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.9125, allocations: 18.25 kB / 0.9555 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.9126, allocations: 156.8 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.9127, allocations: 36.17 kB / 0.9557 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.9128, allocations: 21.62 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.9128, allocations: 1.094 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.9128, allocations: 31.78 kB / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.9128, allocations: 0 / 0.9557 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00016/0.913, allocations: 55.92 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.913, allocations: 52.44 kB / 0.9558 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.301e-05/0.913, allocations: 93.86 kB / 0.9559 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.9131, allocations: 30.92 kB / 0.9559 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.285e-05/0.9131, allocations: 80.14 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.9131, allocations: 7.531 kB / 0.956 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.9131, allocations: 0 / 0.956 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.9132, allocations: 316 kB / 0.9563 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.9132, allocations: 11.55 kB / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.9132, allocations: 3.281 kB / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.9133, allocations: 8.234 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.9133, allocations: 5.031 kB / 0.9564 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001002/0.9134, allocations: 49.56 kB / 0.9564 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.9134, allocations: 5.594 kB / 0.9564 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.9134, allocations: 48 / 0.9564 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.9134, allocations: 5.047 kB / 0.9564 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.9137, allocations: 42.67 kB / 0.9565 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008666/0.9146, allocations: 1.312 MB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.9147, allocations: 1.375 kB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.9147, allocations: 5.141 kB / 0.9577 GB, free: 4.312 MB / 0.7169 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.9147, allocations: 106.8 kB / 0.9578 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.9147, allocations: 5.438 kB / 0.9579 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.285e-05/0.9148, allocations: 15.58 kB / 0.9579 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9148, allocations: 1.406 kB / 0.9579 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-07/0.9148, allocations: 0 / 0.9579 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-06/0.9148, allocations: 0 / 0.9579 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.774e-05/0.9148, allocations: 156.7 kB / 0.958 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9148, allocations: 7.922 kB / 0.958 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.9152, allocations: 46.38 kB / 0.9581 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.9152, allocations: 0.875 kB / 0.9581 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.9152, allocations: 4 kB / 0.9581 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007572/0.9159, allocations: 1.313 MB / 0.9594 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.916, allocations: 0 / 0.9594 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.914e-05/0.9161, allocations: 79 kB / 0.9594 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.9161, allocations: 77.11 kB / 0.9595 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-06/0.9161, allocations: 5.172 kB / 0.9595 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.9161, allocations: 5.094 kB / 0.9595 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.9161, allocations: 4.938 kB / 0.9595 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.9162, allocations: 1.125 kB / 0.9595 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.374e-05/0.9162, allocations: 75.28 kB / 0.9596 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9162, allocations: 1.062 kB / 0.9596 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001844/0.9164, allocations: 7.375 kB / 0.9596 GB, free: 2.297 MB / 0.7169 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.9165, allocations: 101.7 kB / 0.9597 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.9169, allocations: 60.53 kB / 0.9598 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9169, allocations: 4 kB / 0.9598 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.9171, allocations: 37.95 kB / 0.9598 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.9173, allocations: 10.34 kB / 0.9598 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.9176, allocations: 89.41 kB / 0.9599 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.9177, allocations: 0.6805 MB / 0.9606 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.9177, allocations: 6.094 kB / 0.9606 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.9177, allocations: 8.594 kB / 0.9606 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.9177, allocations: 1.469 kB / 0.9606 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of Templates: time 0.002129/0.9199, allocations: 384.7 kB / 0.9609 GB, free: 1.137 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches