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.001143/0.001143, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001187/0.001187, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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 0.9801/0.9801, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.132/2.132, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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 2.835e-06/2.835e-06, allocations: 0 / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.337e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001924/0.001958, allocations: 0.6191 MB / 0.8788 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.002288, allocations: 98.3 kB / 0.8789 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.002312, allocations: 0 / 0.8789 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.002331, allocations: 0 / 0.8789 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.002381, allocations: 0.7656 kB / 0.8789 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.002627, allocations: 17.27 kB / 0.879 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.002689, allocations: 4.875 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.002735, allocations: 4 kB / 0.879 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.002775, allocations: 7.984 kB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.002866, allocations: 10.2 kB / 0.879 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.002883, allocations: 0 / 0.879 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.002957, allocations: 15.92 kB / 0.879 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.002973, allocations: 2.25 kB / 0.879 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.002993, allocations: 0.6562 kB / 0.879 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.003103, allocations: 19.97 kB / 0.879 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.003107, allocations: 1.203 kB / 0.879 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003108, allocations: 2.188 kB / 0.879 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.003113, allocations: 0 / 0.879 GB, free: 5.801 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.000361/0.003474, allocations: 344.4 kB / 0.8793 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.003519, allocations: 8.031 kB / 0.8794 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.003701, allocations: 17.16 kB / 0.8794 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.003784, allocations: 111 kB / 0.8795 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.003808, allocations: 384 / 0.8795 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.003819, allocations: 4.375 kB / 0.8795 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.003958, allocations: 46.95 kB / 0.8795 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.003966, allocations: 5.281 kB / 0.8795 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.003975, allocations: 384 / 0.8795 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.003984, allocations: 4.375 kB / 0.8795 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.004022, allocations: 11.92 kB / 0.8795 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.004157, allocations: 112.6 kB / 0.8797 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.004282, allocations: 47.09 kB / 0.8797 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.004308, allocations: 7.688 kB / 0.8797 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.004325, allocations: 4 kB / 0.8797 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.004348, allocations: 33.39 kB / 0.8797 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.00435, allocations: 0 / 0.8797 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001674/0.004517, allocations: 50.14 kB / 0.8798 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.00456, allocations: 59.39 kB / 0.8798 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.004607, allocations: 146.2 kB / 0.88 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.004618, allocations: 29.64 kB / 0.88 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.004654, allocations: 134.9 kB / 0.8801 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.004686, allocations: 3.953 kB / 0.8801 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.00472, allocations: 19.38 kB / 0.8802 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.004852, allocations: 0.4883 MB / 0.8806 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.004878, allocations: 11.97 kB / 0.8807 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.00489, allocations: 4 kB / 0.8807 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.004942, allocations: 15.69 kB / 0.8807 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004945, allocations: 0 / 0.8807 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.821e-05/0.005023, allocations: 49.62 kB / 0.8807 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.005041, allocations: 12 kB / 0.8807 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005046, allocations: 0 / 0.8807 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.00506, allocations: 0 / 0.8807 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.005289, allocations: 23.97 kB / 0.8808 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.006383, allocations: 1.802 MB / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.006404, allocations: 0 / 0.8825 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.00641, allocations: 4 kB / 0.8825 GB, free: 1.895 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 8.96e-05/0.0065, allocations: 156.6 kB / 0.8827 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.006512, allocations: 7.891 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.21e-05/0.006524, allocations: 3.531 kB / 0.8827 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006526, allocations: 4 kB / 0.8827 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.006528, allocations: 3.984 kB / 0.8827 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006531, allocations: 0 / 0.8827 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.632e-05/0.006607, allocations: 120.8 kB / 0.8828 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.006609, allocations: 0 / 0.8828 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.006793, allocations: 27.97 kB / 0.8828 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.006797, allocations: 3.984 kB / 0.8828 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.006806, allocations: 3.938 kB / 0.8828 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009386/0.007745, allocations: 1.802 MB / 0.8846 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007746, allocations: 0 / 0.8846 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.729e-05/0.007834, allocations: 84.31 kB / 0.8847 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.007838, allocations: 4 kB / 0.8847 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.007846, allocations: 3.984 kB / 0.8847 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.007864, allocations: 0 / 0.8847 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.007886, allocations: 4 kB / 0.8847 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.00789, allocations: 0 / 0.8847 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.007924, allocations: 127.2 kB / 0.8848 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.007924, allocations: 0 / 0.8848 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002317/0.008156, allocations: 8 kB / 0.8848 GB, free: 15.35 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.0001172/0.008273, allocations: 91.25 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.008544, allocations: 43.64 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008546, allocations: 0 / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.008692, allocations: 43.89 kB / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.008854, allocations: 7.938 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.009122, allocations: 98.36 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.009157, allocations: 55.36 kB / 0.8851 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.009185, allocations: 7.969 kB / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.009218, allocations: 12.5 kB / 0.8852 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/0.009219, allocations: 4 kB / 0.8852 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.002585/0.0118, allocations: 476.8 kB / 0.8856 GB, free: 14.47 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.458957196911797]