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: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_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_11_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.001845/0.001846, 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.002049/0.002049, allocations: 196.9 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.895/2.895, allocations: 469.8 MB / 0.7423 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 69.27 kB / 0.9085 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3164, allocations: 159.1 MB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001851/0.3183, allocations: 0.5893 MB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000284/0.3186, allocations: 99.67 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.3186, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.3187, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.3187, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.3189, allocations: 23.91 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.876e-05/0.319, allocations: 11.98 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.3191, allocations: 4 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.3191, allocations: 4 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.3192, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3192, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.3192, allocations: 15.98 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.3193, allocations: 3.938 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.3193, allocations: 3.984 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.935e-05/0.3194, allocations: 19.97 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3194, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3194, allocations: 4 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3194, allocations: 0 / 1.065 GB, free: 13.54 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.0003748/0.3198, allocations: 321 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3198, allocations: 8.031 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.32, allocations: 8.922 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3201, allocations: 160.4 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3201, allocations: 4.375 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.3201, allocations: 8.312 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.3203, allocations: 46.19 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3203, allocations: 192 / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3203, allocations: 3.938 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3203, allocations: 0 / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.201e-05/0.3204, allocations: 15.98 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.3206, allocations: 153.7 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3208, allocations: 46.66 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.3208, allocations: 16.78 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.3209, allocations: 0 / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3209, allocations: 34.56 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3209, allocations: 0 / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/0.3211, allocations: 57.61 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3212, allocations: 55.41 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.3212, allocations: 93.8 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3213, allocations: 25.7 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.3213, allocations: 80.14 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.3213, allocations: 16.12 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.3214, allocations: 17.7 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3215, allocations: 310.8 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.3216, allocations: 11.94 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.3216, allocations: 11.98 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.3217, allocations: 20.84 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3217, allocations: 0 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.3218, allocations: 49.59 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3219, allocations: 4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3219, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3219, allocations: 7.938 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.3223, allocations: 47.92 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.3238, allocations: 1.393 MB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.3238, allocations: 7.938 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3238, allocations: 0 / 1.068 GB, free: 10.18 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 8.889e-05/0.3239, allocations: 117.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.3239, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.324, allocations: 3.828 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.324, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.324, allocations: 3.938 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.324, allocations: 7.922 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.3241, allocations: 161.7 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3241, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.3245, allocations: 47.94 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3245, allocations: 3.984 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3246, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.3259, allocations: 1.408 MB / 1.069 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.326, allocations: 0 / 1.069 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3261, allocations: 73.23 kB / 1.069 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.3262, allocations: 81.11 kB / 1.069 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3262, allocations: 7.938 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.686e-05/0.3262, allocations: 0 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.3262, allocations: 3.984 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3262, allocations: 4 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.3263, allocations: 75.28 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3263, allocations: 0 / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001975/0.3265, allocations: 8 kB / 1.07 GB, free: 7.938 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.0001348/0.3266, allocations: 95.78 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.3271, allocations: 67.84 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3272, allocations: 7.938 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.3274, allocations: 35.95 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3276, allocations: 5.25 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.3279, allocations: 102.8 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.3282, allocations: 0.669 MB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.3283, allocations: 8 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3283, allocations: 11.42 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3283, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of Templates: time 0.002736/0.3311, allocations: 415.1 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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