Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0008276/0.0008276, 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.001013/0.001013, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8787/0.8787, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.696/1.696, allocations: 377.8 MB / 0.6221 GB, free: 8.645 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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.921e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02168/0.0217, allocations: 30.83 MB / 1.011 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.0337, allocations: 10.14 MB / 1.021 GB, free: 9.465 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.03497, allocations: 198.5 kB / 1.021 GB, free: 9.27 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.03885, allocations: 3.748 MB / 1.025 GB, free: 5.512 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.04154, allocations: 2 MB / 1.027 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.04435, allocations: 2.153 MB / 1.029 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.005622/0.04997, allocations: 7.469 MB / 1.036 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005645/0.05561, allocations: 5.12 MB / 1.041 GB, free: 4.613 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004554/0.06017, allocations: 4.592 MB / 1.046 GB, free: 12 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4037/0.4638, allocations: 3.233 MB / 1.049 GB, free: 59.31 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007697/0.4646, allocations: 0.6447 MB / 1.049 GB, free: 59.31 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.4666, allocations: 1.677 MB / 1.051 GB, free: 59.31 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.4679, allocations: 2.724 MB / 1.054 GB, free: 59.31 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.4693, allocations: 2.012 MB / 1.056 GB, free: 59.31 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004855/0.4742, allocations: 10.32 MB / 1.066 GB, free: 58.96 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4742, allocations: 0 / 1.066 GB, free: 58.96 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4742, allocations: 3.469 kB / 1.066 GB, free: 58.96 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.117e-05/0.4742, allocations: 0 / 1.066 GB, free: 58.96 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00434/0.4786, allocations: 4.998 MB / 1.071 GB, free: 57.03 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4786, allocations: 10.5 kB / 1.071 GB, free: 57.03 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005894/0.4792, allocations: 0.6794 MB / 1.071 GB, free: 56.96 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.4817, allocations: 0.9933 MB / 1.072 GB, free: 56.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.4847, allocations: 2.996 MB / 1.075 GB, free: 56.06 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.4849, allocations: 351.4 kB / 1.076 GB, free: 56.05 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004856/0.4853, allocations: 462.9 kB / 1.076 GB, free: 56.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007942/0.4933, allocations: 7.969 MB / 1.084 GB, free: 52.88 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.363e-05/0.4934, allocations: 26.03 kB / 1.084 GB, free: 52.88 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.4937, allocations: 203.2 kB / 1.084 GB, free: 52.74 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002312/0.4939, allocations: 317.1 kB / 1.084 GB, free: 52.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006278/0.5002, allocations: 5.705 MB / 1.09 GB, free: 50.79 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.5164, allocations: 22.64 MB / 1.112 GB, free: 35.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.518, allocations: 1.553 MB / 1.114 GB, free: 35.11 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.5191, allocations: 1.124 MB / 1.115 GB, free: 34.68 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.5191, allocations: 13.78 kB / 1.115 GB, free: 34.67 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.5192, allocations: 49.22 kB / 1.115 GB, free: 34.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=133): time 2.655e-06/0.5192, allocations: 1.969 kB / 1.115 GB, free: 34.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136): time 0.007687/0.5268, allocations: 6.205 MB / 1.121 GB, free: 32.01 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.5269, allocations: 66.58 kB / 1.121 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.5282, allocations: 1.53 MB / 1.122 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.5283, allocations: 46.86 kB / 1.122 GB, free: 31.25 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007099/0.529, allocations: 2.072 MB / 1.124 GB, free: 29.67 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.5292, allocations: 499.4 kB / 1.125 GB, free: 29.29 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.5296, allocations: 348.4 kB / 1.125 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.177e-05/0.5296, allocations: 305.1 kB / 1.125 GB, free: 28.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009027/0.5305, allocations: 0.9161 MB / 1.126 GB, free: 28.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.5316, allocations: 1.588 MB / 1.128 GB, free: 27.29 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.5337, allocations: 2.736 MB / 1.131 GB, free: 25.58 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.5337, allocations: 6.688 kB / 1.131 GB, free: 25.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003686/0.5374, allocations: 3.512 MB / 1.134 GB, free: 24.28 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5374, allocations: 21.33 kB / 1.134 GB, free: 24.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.5374, allocations: 21.84 kB / 1.134 GB, free: 24.28 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5388, allocations: 0.9012 MB / 1.135 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.5395, allocations: 349.5 kB / 1.135 GB, free: 23.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009928/0.5494, allocations: 21.72 MB / 1.156 GB, free: 5.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/0.5502, allocations: 101 kB / 1.157 GB, free: 5.777 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.904e-05/0.5503, allocations: 87.28 kB / 1.157 GB, free: 5.762 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001917/0.5523, allocations: 1.612 MB / 1.158 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.5524, allocations: 212 kB / 1.158 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.5553, allocations: 2.969 MB / 1.161 GB, free: 3.73 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5553, allocations: 17.69 kB / 1.161 GB, free: 3.727 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5553, allocations: 12.72 kB / 1.161 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5553, allocations: 9.797 kB / 1.161 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006665/0.562, allocations: 6.719 MB / 1.168 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.562, allocations: 5.5 kB / 1.168 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.5624, allocations: 175.5 kB / 1.168 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.5635, allocations: 0.8221 MB / 1.169 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.5636, allocations: 28.81 kB / 1.169 GB, free: 0.7227 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.5746, allocations: 20.57 MB / 1.189 GB, free: 14.74 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5746, allocations: 8.781 kB / 1.189 GB, free: 14.74 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.5775, allocations: 3.008 MB / 1.192 GB, free: 12.91 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.5781, allocations: 392.6 kB / 1.192 GB, free: 12.67 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.5782, allocations: 29.28 kB / 1.192 GB, free: 12.65 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.5786, allocations: 74.28 kB / 1.192 GB, free: 12.61 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.5789, allocations: 135.8 kB / 1.193 GB, free: 12.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.5789, allocations: 48.84 kB / 1.193 GB, free: 12.5 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.00106/0.58, allocations: 0.975 MB / 1.194 GB, free: 11.95 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/0.58, allocations: 3.062 kB / 1.194 GB, free: 11.95 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00189/0.5819, allocations: 0.782 MB / 1.194 GB, free: 11.89 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002961/0.5848, allocations: 3.592 MB / 1.198 GB, free: 9.531 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003181/0.588, allocations: 3.895 MB / 1.202 GB, free: 6.941 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.588, allocations: 4.391 kB / 1.202 GB, free: 6.941 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.5899, allocations: 2.665 MB / 1.204 GB, free: 4.621 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.5918, allocations: 0.7375 MB / 1.205 GB, free: 3.918 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02345/0.6152, allocations: 22.52 MB / 1.227 GB, free: 12.55 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/0.6176, allocations: 2.568 MB / 1.229 GB, free: 9.953 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0008561/0.6185, allocations: 457.9 kB / 1.23 GB, free: 9.504 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.6196, allocations: 1.539 MB / 1.231 GB, free: 7.965 MB / 1.057 GB Notification: Performance of SimCode: time 1.092e-06/0.6196, allocations: 0 / 1.231 GB, free: 7.965 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08445/0.7041, allocations: 65.79 MB / 1.296 GB, free: 7.344 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/9.12, allocations: 0 / 1.296 GB, free: 7.344 MB / 1.12 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 13.343808117322624]