Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 107.6 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001234, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 489.3 MB / 0.7687 GB, free: 3.828 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001733/1.038, allocations: 0.598 MB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000295/1.038, allocations: 87.16 kB / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/1.038, allocations: 0 / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/1.038, allocations: 0.875 kB / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/1.038, allocations: 3.938 kB / 1.263 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/1.038, allocations: 16.42 kB / 1.263 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.269e-05/1.038, allocations: 8.406 kB / 1.263 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/1.039, allocations: 6.094 kB / 1.263 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/1.039, allocations: 3.109 kB / 1.263 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/1.039, allocations: 10.78 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/1.039, allocations: 0.9062 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/1.039, allocations: 14.28 kB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/1.039, allocations: 1.5 kB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/1.039, allocations: 6.047 kB / 1.263 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.636e-05/1.039, allocations: 18.02 kB / 1.263 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.039, allocations: 0 / 1.263 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.039, allocations: 0.625 kB / 1.263 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.039, allocations: 3.938 kB / 1.263 GB, free: 7.559 MB / 0.9981 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.0003075/1.039, allocations: 322.2 kB / 1.264 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.039, allocations: 13.91 kB / 1.264 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/1.039, allocations: 9.141 kB / 1.264 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.077e-05/1.039, allocations: 168.8 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.04, allocations: 1.828 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/1.04, allocations: 1.75 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.04, allocations: 40.12 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/1.04, allocations: 192 / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/1.04, allocations: 4.641 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/1.04, allocations: 4.844 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.413e-05/1.04, allocations: 10.98 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/1.04, allocations: 151.7 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/1.04, allocations: 43.56 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/1.04, allocations: 14.73 kB / 1.264 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/1.04, allocations: 5.547 kB / 1.264 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/1.04, allocations: 31.94 kB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.04, allocations: 0 / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002143/1.04, allocations: 60.25 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/1.04, allocations: 56.25 kB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.776e-05/1.04, allocations: 90.8 kB / 1.264 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/1.04, allocations: 26.36 kB / 1.264 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.006e-05/1.04, allocations: 84.14 kB / 1.264 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/1.041, allocations: 9.906 kB / 1.264 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/1.041, allocations: 18.7 kB / 1.264 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/1.041, allocations: 311.6 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/1.041, allocations: 5.734 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/1.041, allocations: 6.844 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/1.041, allocations: 19.89 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.041, allocations: 9.781 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/1.041, allocations: 54.27 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.041, allocations: 5.375 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.041, allocations: 1.672 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.041, allocations: 3.938 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/1.041, allocations: 41.45 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/1.042, allocations: 1.415 MB / 1.266 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/1.042, allocations: 1.859 kB / 1.266 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/1.042, allocations: 0.9688 kB / 1.266 GB, free: 4.504 MB / 0.9981 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 5.605e-05/1.042, allocations: 120.2 kB / 1.266 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/1.043, allocations: 0.75 kB / 1.266 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/1.043, allocations: 8.969 kB / 1.266 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.043, allocations: 0.7812 kB / 1.266 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/1.043, allocations: 0 / 1.266 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.043, allocations: 1.422 kB / 1.266 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.518e-05/1.043, allocations: 155.1 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/1.043, allocations: 0 / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/1.043, allocations: 54.67 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.043, allocations: 0.875 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/1.043, allocations: 0.7031 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/1.044, allocations: 1.41 MB / 1.268 GB, free: 18.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.044, allocations: 0.8438 kB / 1.268 GB, free: 18.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/1.044, allocations: 73.25 kB / 1.268 GB, free: 18.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/1.044, allocations: 79.17 kB / 1.268 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/1.044, allocations: 4.453 kB / 1.268 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/1.044, allocations: 2.422 kB / 1.268 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/1.044, allocations: 10.08 kB / 1.268 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/1.044, allocations: 6.438 kB / 1.268 GB, free: 18.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.799e-05/1.044, allocations: 75.28 kB / 1.268 GB, free: 18.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.044, allocations: 0 / 1.268 GB, free: 18.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001882/1.045, allocations: 6.938 kB / 1.268 GB, free: 18.46 MB / 1.014 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.0001448/1.045, allocations: 102.1 kB / 1.268 GB, free: 18.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004956/1.045, allocations: 66.47 kB / 1.268 GB, free: 18.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.045, allocations: 0.5938 kB / 1.268 GB, free: 18.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/1.046, allocations: 64.94 kB / 1.268 GB, free: 18.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/1.046, allocations: 1.406 kB / 1.268 GB, free: 18.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/1.046, allocations: 115.4 kB / 1.269 GB, free: 18.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.047, allocations: 0.6729 MB / 1.269 GB, free: 17.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/1.047, allocations: 9.438 kB / 1.269 GB, free: 17.52 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/1.047, allocations: 0 / 1.269 GB, free: 17.52 MB / 1.014 GB Notification: Performance of Templates: time 0.002534/1.049, allocations: 0.596 MB / 1.27 GB, free: 17.49 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.052794299088418]