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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.197/2.197, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.934e-06/1.934e-06, allocations: 0 / 0.8794 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.665e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001672/0.001699, allocations: 0.6191 MB / 0.88 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002638/0.001962, allocations: 97.19 kB / 0.8801 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.001983, allocations: 0.875 kB / 0.8801 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.001999, allocations: 0 / 0.8801 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.002049, allocations: 9.031 kB / 0.8801 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.00226, allocations: 11.98 kB / 0.8802 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.002313, allocations: 5.781 kB / 0.8802 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.002356, allocations: 0 / 0.8802 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.00239, allocations: 8.75 kB / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.00247, allocations: 9.672 kB / 0.8802 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.002484, allocations: 0 / 0.8802 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.002548, allocations: 15.92 kB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.002562, allocations: 5.453 kB / 0.8802 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.161e-05/0.002574, allocations: 0 / 0.8802 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.92e-05/0.002663, allocations: 21.23 kB / 0.8802 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002665, allocations: 0 / 0.8802 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002666, allocations: 4.094 kB / 0.8802 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.00267, allocations: 0 / 0.8802 GB, free: 5.188 MB / 0.8386 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.0003098/0.00298, allocations: 348.3 kB / 0.8806 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.003017, allocations: 12.02 kB / 0.8806 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.003146, allocations: 9.234 kB / 0.8806 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.813e-05/0.003215, allocations: 109.5 kB / 0.8807 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.003235, allocations: 4.375 kB / 0.8807 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.003241, allocations: 384 / 0.8807 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.003341, allocations: 47.55 kB / 0.8807 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.003348, allocations: 1.281 kB / 0.8807 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.003355, allocations: 384 / 0.8807 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.00336, allocations: 384 / 0.8807 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.905e-05/0.003389, allocations: 12.48 kB / 0.8807 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.003499, allocations: 101.2 kB / 0.8808 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.003587, allocations: 44.56 kB / 0.8809 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.003603, allocations: 7.688 kB / 0.8809 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.003616, allocations: 8.047 kB / 0.8809 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.003641, allocations: 41.39 kB / 0.8809 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.003642, allocations: 0 / 0.8809 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000123/0.003765, allocations: 45.62 kB / 0.881 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.003798, allocations: 51.41 kB / 0.881 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.52e-05/0.003843, allocations: 146.2 kB / 0.8812 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.003853, allocations: 25.7 kB / 0.8812 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.00389, allocations: 130.9 kB / 0.8813 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.003919, allocations: 7.953 kB / 0.8813 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.003953, allocations: 23.36 kB / 0.8814 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.004087, allocations: 496.1 kB / 0.8818 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.004106, allocations: 4 kB / 0.8818 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.004117, allocations: 7.984 kB / 0.8818 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.004156, allocations: 15.69 kB / 0.8819 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.004158, allocations: 0 / 0.8819 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.904e-05/0.004227, allocations: 45.62 kB / 0.8819 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.004241, allocations: 8 kB / 0.8819 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004245, allocations: 0 / 0.8819 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.004255, allocations: 0 / 0.8819 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.004444, allocations: 23.97 kB / 0.8819 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.005452, allocations: 1.784 MB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.005472, allocations: 4 kB / 0.8837 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.005476, allocations: 0 / 0.8837 GB, free: 1.355 MB / 0.8386 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 7.501e-05/0.005551, allocations: 156.6 kB / 0.8838 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.005562, allocations: 8.062 kB / 0.8838 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-06/0.005572, allocations: 7.531 kB / 0.8838 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.005575, allocations: 3.938 kB / 0.8838 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.005577, allocations: 4 kB / 0.8838 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00558, allocations: 4 kB / 0.8838 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.09e-05/0.005661, allocations: 101.2 kB / 0.8839 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005663, allocations: 0 / 0.8839 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.005831, allocations: 27.98 kB / 0.884 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.005834, allocations: 7.984 kB / 0.884 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.005839, allocations: 3.938 kB / 0.884 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.006848, allocations: 1.786 MB / 0.8857 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006849, allocations: 0 / 0.8857 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.384e-05/0.006923, allocations: 76.38 kB / 0.8858 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-06/0.006925, allocations: 128 / 0.8858 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.006934, allocations: 7.938 kB / 0.8858 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.645e-05/0.00695, allocations: 4 kB / 0.8858 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.006965, allocations: 4 kB / 0.8858 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.006968, allocations: 0 / 0.8858 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.007002, allocations: 123.2 kB / 0.8859 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007002, allocations: 0 / 0.8859 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002197/0.007222, allocations: 4 kB / 0.8859 GB, free: 14.86 MB / 0.8542 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.0001049/0.007327, allocations: 95.25 kB / 0.886 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.007548, allocations: 43.69 kB / 0.8861 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.00755, allocations: 0 / 0.8861 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.00768, allocations: 43.88 kB / 0.8861 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.007823, allocations: 0.8594 kB / 0.8861 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.008041, allocations: 102.1 kB / 0.8862 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.008073, allocations: 55.36 kB / 0.8863 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.484e-05/0.008098, allocations: 4 kB / 0.8863 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.008143, allocations: 70.2 kB / 0.8863 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/0.008144, allocations: 0 / 0.8863 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.002377/0.01052, allocations: 0.515 MB / 0.8868 GB, free: 13.88 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4248466938734055]