Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001042/0.001042, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008663/0.0008663, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8969/0.8969, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.403e-05, allocations: 6.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001771/0.001785, allocations: 1.46 MB / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002064/0.001992, allocations: 95.59 kB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.00202, allocations: 0 / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.002045, allocations: 0 / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.53e-05/0.00208, allocations: 3.938 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.00226, allocations: 15.98 kB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.002321, allocations: 31.86 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.002399, allocations: 0 / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.002449, allocations: 15.98 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.24e-05/0.002482, allocations: 15.97 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.002496, allocations: 4 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.937e-05/0.002545, allocations: 15.92 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.002558, allocations: 7.938 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.002574, allocations: 4 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.579e-05/0.00267, allocations: 35.89 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002672, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.713e-06/0.002673, allocations: 4 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.002677, allocations: 0 / 0.9826 GB, free: 0.8633 MB / 0.9323 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.0003139/0.002991, allocations: 266.3 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.003026, allocations: 16.03 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.003052, allocations: 30.75 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.003149, allocations: 12.92 kB / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.00322, allocations: 113.7 kB / 0.983 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.00324, allocations: 12.31 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.003248, allocations: 384 / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.00337, allocations: 58.22 kB / 0.9831 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003377, allocations: 4.172 kB / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.003385, allocations: 384 / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.00339, allocations: 8.125 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.003508, allocations: 51.89 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.003795, allocations: 232 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/0.003895, allocations: 46.55 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.003953, allocations: 36.84 kB / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.003965, allocations: 0 / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.003984, allocations: 42.48 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.003984, allocations: 0 / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002389/0.004223, allocations: 101.6 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.00425, allocations: 55.41 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.353e-05/0.004303, allocations: 97.86 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.004312, allocations: 33.83 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.004347, allocations: 88.12 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.00437, allocations: 3.953 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.004395, allocations: 13.72 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.00446, allocations: 314.8 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.004515, allocations: 23.97 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.004562, allocations: 23.97 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.004661, allocations: 56.81 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004662, allocations: 0 / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.004786, allocations: 85.55 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004797, allocations: 4 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004802, allocations: 0 / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.004812, allocations: 4 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.004876, allocations: 12.02 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.00488, allocations: 4 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.004908, allocations: 7.984 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.004913, allocations: 0 / 0.9844 GB, free: 14.84 MB / 0.948 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 4.907e-05/0.004963, allocations: 113.8 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.004975, allocations: 3.938 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.004996, allocations: 7.609 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.004998, allocations: 3.938 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.005001, allocations: 0 / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.005004, allocations: 8 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.401e-05/0.005098, allocations: 124.8 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.005098, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.00513, allocations: 15.92 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.005132, allocations: 3.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.00514, allocations: 8.25 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.005141, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005142, allocations: 0 / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.005291, allocations: 175.5 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.005298, allocations: 7.891 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.005306, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.386e-05/0.00535, allocations: 11.98 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.005377, allocations: 0 / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.00538, allocations: 3.938 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.627e-05/0.005406, allocations: 87.27 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005406, allocations: 0 / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001402/0.005546, allocations: 8 kB / 0.985 GB, free: 14.2 MB / 0.948 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.0003558/0.005902, allocations: 0.7085 MB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.006041, allocations: 47.95 kB / 0.9857 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006042, allocations: 0 / 0.9857 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.006097, allocations: 32.06 kB / 0.9857 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.006279, allocations: 3.938 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.006589, allocations: 150.6 kB / 0.9859 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.006628, allocations: 59.34 kB / 0.9859 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.006648, allocations: 0 / 0.9859 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.006682, allocations: 20.55 kB / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/0.006682, allocations: 0 / 0.986 GB, free: 13.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.01991, allocations: 2.184 MB / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/6.933, allocations: 8.047 kB / 0.9881 GB, free: 11.04 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 10.997428911738098]