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.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: 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.001423/0.001429, allocations: 106.9 kB / 15.99 MB, free: 6.363 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.001498/0.001498, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.379/2.379, allocations: 390.2 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 65.75 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3213, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002577/0.3239, allocations: 0.6512 MB / 0.9504 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.3243, allocations: 87.73 kB / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.3243, allocations: 0 / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3243, allocations: 0 / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.3244, allocations: 0 / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.3247, allocations: 19.92 kB / 0.9505 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.714e-05/0.3247, allocations: 11.98 kB / 0.9505 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.534e-05/0.3248, allocations: 0 / 0.9505 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.3248, allocations: 4 kB / 0.9505 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.3249, allocations: 7.984 kB / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.325, allocations: 0 / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.325, allocations: 15.98 kB / 0.9506 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.3251, allocations: 0 / 0.9506 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.3251, allocations: 7.938 kB / 0.9506 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.3252, allocations: 15.91 kB / 0.9506 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3252, allocations: 4 kB / 0.9506 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3252, allocations: 3.938 kB / 0.9506 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3252, allocations: 0 / 0.9506 GB, free: 8.438 MB / 0.7325 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.0003857/0.3256, allocations: 319.6 kB / 0.9509 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3257, allocations: 12.03 kB / 0.9509 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.3259, allocations: 12.83 kB / 0.9509 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.326, allocations: 170.5 kB / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.326, allocations: 384 / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.326, allocations: 384 / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3262, allocations: 42.25 kB / 0.9511 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3262, allocations: 192 / 0.9511 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3262, allocations: 3.938 kB / 0.9511 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3262, allocations: 4 kB / 0.9511 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.3263, allocations: 15.98 kB / 0.9511 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.3265, allocations: 153.7 kB / 0.9513 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3267, allocations: 38.56 kB / 0.9513 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.3267, allocations: 12.91 kB / 0.9513 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3267, allocations: 8 kB / 0.9514 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3268, allocations: 30.56 kB / 0.9514 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3268, allocations: 0 / 0.9514 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002268/0.327, allocations: 65.55 kB / 0.9514 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3271, allocations: 51.41 kB / 0.9515 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.3271, allocations: 89.86 kB / 0.9516 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3271, allocations: 25.7 kB / 0.9516 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.3272, allocations: 84.14 kB / 0.9517 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.3273, allocations: 8.125 kB / 0.9517 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3273, allocations: 17.72 kB / 0.9517 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3274, allocations: 318.8 kB / 0.952 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.3275, allocations: 4 kB / 0.952 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.3275, allocations: 11.98 kB / 0.952 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.3276, allocations: 20.86 kB / 0.952 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3276, allocations: 4 kB / 0.952 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001279/0.3278, allocations: 53.61 kB / 0.9521 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3278, allocations: 4 kB / 0.9521 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3278, allocations: 0 / 0.9521 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3278, allocations: 3.938 kB / 0.9521 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.3282, allocations: 39.94 kB / 0.9521 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.3297, allocations: 1.412 MB / 0.9535 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.3297, allocations: 0 / 0.9535 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3297, allocations: 4.031 kB / 0.9535 GB, free: 5.066 MB / 0.7325 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 9.333e-05/0.3298, allocations: 117.9 kB / 0.9536 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.3298, allocations: 3.938 kB / 0.9536 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.3299, allocations: 7.5 kB / 0.9537 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3299, allocations: 4 kB / 0.9537 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3299, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3299, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.33, allocations: 153.5 kB / 0.9538 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.33, allocations: 4 kB / 0.9538 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.3304, allocations: 43.94 kB / 0.9538 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3304, allocations: 4 kB / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3304, allocations: 4 kB / 0.9539 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.3317, allocations: 1.404 MB / 0.9552 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3318, allocations: 0 / 0.9552 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.3319, allocations: 73.02 kB / 0.9553 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.3319, allocations: 77.11 kB / 0.9554 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.332, allocations: 12 kB / 0.9554 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.926e-05/0.332, allocations: 7.938 kB / 0.9554 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.332, allocations: 7.984 kB / 0.9554 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.332, allocations: 0 / 0.9554 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.3321, allocations: 75.28 kB / 0.9555 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3321, allocations: 0 / 0.9555 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001961/0.3323, allocations: 4 kB / 0.9555 GB, free: 2.84 MB / 0.7325 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.0001895/0.3325, allocations: 103.2 kB / 0.9556 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.333, allocations: 67.88 kB / 0.9556 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.333, allocations: 0 / 0.9556 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.3334, allocations: 59.86 kB / 0.9557 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.3335, allocations: 8 kB / 0.9557 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.3339, allocations: 116 kB / 0.9558 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3342, allocations: 0.6729 MB / 0.9565 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.3342, allocations: 15.42 kB / 0.9565 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3342, allocations: 0 / 0.9565 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of Templates: time 0.002259/0.3365, allocations: 0.597 MB / 0.9571 GB, free: 1.141 MB / 0.7325 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/jenkins1/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