Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001738/0.001738, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.002275/0.002275, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.265/1.265, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.736/2.736, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.456e-05/3.681e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003853/0.00389, allocations: 1.494 MB / 0.8912 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.004253, allocations: 91.75 kB / 0.8913 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.004313, allocations: 0 / 0.8913 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.004353, allocations: 3.938 kB / 0.8913 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.004424, allocations: 7.922 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.004695, allocations: 19.97 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.004788, allocations: 23.92 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.004899, allocations: 4 kB / 0.8914 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.004978, allocations: 15.92 kB / 0.8914 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.005022, allocations: 8 kB / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.005042, allocations: 0 / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.85e-05/0.00513, allocations: 23.92 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.005154, allocations: 11.97 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.005174, allocations: 4 kB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.005323, allocations: 31.84 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.005328, allocations: 4 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.734e-06/0.00533, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.005335, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 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.0004766/0.005812, allocations: 368.5 kB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.005871, allocations: 8.625 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.006069, allocations: 12.94 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.006194, allocations: 120.6 kB / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.006213, allocations: 384 / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.006221, allocations: 384 / 0.8919 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.006367, allocations: 62.94 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.006375, allocations: 192 / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.006384, allocations: 384 / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.006391, allocations: 384 / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.006432, allocations: 11.88 kB / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.006797, allocations: 244.4 kB / 0.8922 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.006887, allocations: 35.06 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.00691, allocations: 11.67 kB / 0.8923 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.006933, allocations: 0 / 0.8923 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.006965, allocations: 41.39 kB / 0.8923 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.006966, allocations: 0 / 0.8923 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001756/0.007142, allocations: 41.64 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.007178, allocations: 51.41 kB / 0.8924 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.00728, allocations: 165.9 kB / 0.8926 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.007294, allocations: 29.64 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.007365, allocations: 130.9 kB / 0.8927 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.00739, allocations: 16.02 kB / 0.8927 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.007433, allocations: 19.36 kB / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.00759, allocations: 0.4884 MB / 0.8932 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.007614, allocations: 0 / 0.8932 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.007631, allocations: 4 kB / 0.8932 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.007674, allocations: 15.62 kB / 0.8933 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007676, allocations: 0 / 0.8933 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.407e-05/0.00777, allocations: 45.64 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.007789, allocations: 10.34 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.007796, allocations: 96 / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.007814, allocations: 7.938 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.0079, allocations: 4 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.007905, allocations: 3.984 kB / 0.8933 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.007935, allocations: 4 kB / 0.8933 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.00794, allocations: 0 / 0.8933 GB, free: 5.895 MB / 0.8542 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/0.008026, allocations: 156.6 kB / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.008049, allocations: 0 / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.008091, allocations: 11.56 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.008095, allocations: 7.938 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.008097, allocations: 4 kB / 0.8935 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.008103, allocations: 3.984 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.008249, allocations: 93.27 kB / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.008263, allocations: 0 / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.008318, allocations: 11.98 kB / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.008321, allocations: 0 / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.008327, allocations: 0 / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.00833, allocations: 256 / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.008332, allocations: 4 kB / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.008505, allocations: 191.9 kB / 0.8938 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.008515, allocations: 7.984 kB / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.008527, allocations: 0 / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.008588, allocations: 4 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.008621, allocations: 3.984 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.008629, allocations: 7.938 kB / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.008682, allocations: 135 kB / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.008682, allocations: 0 / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002446/0.008926, allocations: 4 kB / 0.8939 GB, free: 5.199 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001405/0.009067, allocations: 91.25 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.859e-05/0.009165, allocations: 35.67 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.009168, allocations: 0 / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/0.009198, allocations: 11.69 kB / 0.8941 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.009492, allocations: 4 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.009834, allocations: 126.2 kB / 0.8942 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.00988, allocations: 59.3 kB / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.009909, allocations: 4.125 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.009975, allocations: 70.2 kB / 0.8943 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of SimCode: time 9.91e-07/0.009976, allocations: 0 / 0.8943 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of Templates: time 0.00325/0.01323, allocations: 0.7221 MB / 0.895 GB, free: 4.027 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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: 6.371704096905887]