Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0008757/0.0008757, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009013/0.0009013, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8718/0.8718, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.129e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01147/0.01149, allocations: 9.493 MB / 0.9598 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005584/0.01708, allocations: 2.998 MB / 0.9627 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.01814, allocations: 47.62 kB / 0.9627 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.02, allocations: 0.6928 MB / 0.9634 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.02206, allocations: 0.746 MB / 0.9642 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.0238, allocations: 0.6417 MB / 0.9648 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003217/0.02702, allocations: 2.788 MB / 0.9675 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.02928, allocations: 1.371 MB / 0.9688 GB, free: 0.5703 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.03155, allocations: 1.583 MB / 0.9704 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.03291, allocations: 1.364 MB / 0.9717 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.03311, allocations: 220 kB / 0.9719 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.03368, allocations: 471.2 kB / 0.9724 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.03428, allocations: 1.048 MB / 0.9734 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.0348, allocations: 0.7134 MB / 0.9741 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.03685, allocations: 3.491 MB / 0.9775 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.03686, allocations: 4 kB / 0.9775 GB, free: 7.672 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.814e-06/0.03686, allocations: 0 / 0.9775 GB, free: 7.672 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.742e-05/0.03691, allocations: 4 kB / 0.9775 GB, free: 7.668 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00231/0.03922, allocations: 1.897 MB / 0.9794 GB, free: 5.73 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.03926, allocations: 12.02 kB / 0.9794 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.03948, allocations: 248.7 kB / 0.9796 GB, free: 5.465 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.04224, allocations: 0.9166 MB / 0.9805 GB, free: 4.547 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.0435, allocations: 1.124 MB / 0.9816 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.04355, allocations: 111.3 kB / 0.9817 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.04373, allocations: 140.3 kB / 0.9818 GB, free: 3.148 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.04659, allocations: 3.093 MB / 0.9849 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.04662, allocations: 4.188 kB / 0.9849 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.04675, allocations: 68.09 kB / 0.9849 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.04688, allocations: 175 kB / 0.9851 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.0496, allocations: 2.608 MB / 0.9876 GB, free: 13.08 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007931/0.05753, allocations: 9.318 MB / 0.9967 GB, free: 3.531 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.05883, allocations: 1.221 MB / 0.9979 GB, free: 2.293 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009317/0.05976, allocations: 0.9799 MB / 0.9989 GB, free: 1.312 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.05981, allocations: 8.656 kB / 0.9989 GB, free: 1.305 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.256e-05/0.05989, allocations: 43.22 kB / 0.9989 GB, free: 1.254 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 2.305e-06/0.05989, allocations: 0 / 0.9989 GB, free: 1.254 MB / 0.948 GB Notification: Performance of matching and sorting (n=139): time 0.03512/0.09502, allocations: 18.89 MB / 1.017 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.09506, allocations: 68.72 kB / 1.017 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.09587, allocations: 0.9339 MB / 1.018 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.09594, allocations: 45.7 kB / 1.018 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.09626, allocations: 0.7501 MB / 1.019 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.09653, allocations: 0.4957 MB / 1.02 GB, free: 12 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.09687, allocations: 291.5 kB / 1.02 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.09697, allocations: 357.9 kB / 1.02 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.09819, allocations: 1.335 MB / 1.022 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.09953, allocations: 1.655 MB / 1.023 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.1022, allocations: 3.096 MB / 1.026 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1022, allocations: 0 / 1.026 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.006615/0.1088, allocations: 5.563 MB / 1.032 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1089, allocations: 8 kB / 1.032 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1089, allocations: 8.656 kB / 1.032 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004587/0.1135, allocations: 2.717 MB / 1.034 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.1138, allocations: 195.6 kB / 1.034 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4157/0.5295, allocations: 24.99 MB / 1.059 GB, free: 121.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008072/0.5303, allocations: 96.52 kB / 1.059 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.5304, allocations: 56.23 kB / 1.059 GB, free: 121.4 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006701/0.5311, allocations: 0.7255 MB / 1.06 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5312, allocations: 123.3 kB / 1.06 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005395/0.5366, allocations: 5.309 MB / 1.065 GB, free: 119.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.5366, allocations: 14.19 kB / 1.065 GB, free: 119.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5366, allocations: 23.89 kB / 1.065 GB, free: 119.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5366, allocations: 6.75 kB / 1.065 GB, free: 119.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007765/0.5444, allocations: 8.26 MB / 1.073 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.5444, allocations: 5.25 kB / 1.073 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.5446, allocations: 117.9 kB / 1.073 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004323/0.5489, allocations: 2.573 MB / 1.076 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.088e-05/0.549, allocations: 27.66 kB / 1.076 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/0.5686, allocations: 23.44 MB / 1.099 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5686, allocations: 7.625 kB / 1.099 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006633/0.5752, allocations: 5.175 MB / 1.104 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/0.5758, allocations: 426.9 kB / 1.104 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5759, allocations: 26.5 kB / 1.104 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.5764, allocations: 83.36 kB / 1.104 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.5767, allocations: 125.9 kB / 1.104 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.5768, allocations: 35.22 kB / 1.104 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005536/0.5773, allocations: 0.6481 MB / 1.105 GB, free: 102 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3e-08/0.5773, allocations: 0 / 1.105 GB, free: 102 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001452/0.5788, allocations: 0.7206 MB / 1.106 GB, free: 102 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00663/0.5854, allocations: 5.753 MB / 1.111 GB, free: 99.63 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004408/0.5898, allocations: 4.088 MB / 1.115 GB, free: 97.95 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5898, allocations: 0.9062 kB / 1.115 GB, free: 97.95 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003026/0.5928, allocations: 2.608 MB / 1.118 GB, free: 96.77 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.5936, allocations: 221.3 kB / 1.118 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/0.6157, allocations: 21.37 MB / 1.139 GB, free: 87.52 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/0.6166, allocations: 1.107 MB / 1.14 GB, free: 86.92 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004358/0.617, allocations: 334.3 kB / 1.14 GB, free: 86.79 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003667/0.6174, allocations: 0.5329 MB / 1.141 GB, free: 86.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.292e-06/0.6174, allocations: 0 / 1.141 GB, free: 86.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.6671, allocations: 56.08 MB / 1.196 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.485, allocations: 6.125 kB / 1.196 GB, free: 31.65 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 12.460639961995184]