Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0008093/0.0008093, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009004/0.0009004, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8684/0.8684, allocations: 177.2 MB / 202.8 MB, free: 5.543 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.753/1.753, allocations: 377.9 MB / 0.6221 GB, free: 8.625 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_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.981 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.204e-05, allocations: 9.031 kB / 0.981 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02289/0.02291, allocations: 33 MB / 1.013 GB, free: 292 kB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01236/0.03527, allocations: 11.37 MB / 1.024 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.03699, allocations: 210.4 kB / 1.025 GB, free: 4.676 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004571/0.04156, allocations: 4.282 MB / 1.029 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.4098/0.4514, allocations: 2.134 MB / 1.031 GB, free: 23.09 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.005259/0.4567, allocations: 2.432 MB / 1.033 GB, free: 23.02 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01001/0.4667, allocations: 8.608 MB / 1.042 GB, free: 21.85 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009638/0.4763, allocations: 6.182 MB / 1.048 GB, free: 21.14 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.4874, allocations: 5.398 MB / 1.053 GB, free: 18.91 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006663/0.494, allocations: 3.903 MB / 1.057 GB, free: 17.99 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.002553/0.4966, allocations: 0.7795 MB / 1.057 GB, free: 17.99 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006432/0.503, allocations: 1.928 MB / 1.059 GB, free: 17.72 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.005594/0.5086, allocations: 3.274 MB / 1.063 GB, free: 16.35 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.006927/0.5156, allocations: 2.374 MB / 1.065 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.5306, allocations: 12.24 MB / 1.077 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5306, allocations: 2.281 kB / 1.077 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5306, allocations: 3.938 kB / 1.077 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004119/0.531, allocations: 0 / 1.077 GB, free: 11.84 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01709/0.5481, allocations: 5.81 MB / 1.082 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.5482, allocations: 9.344 kB / 1.083 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002834/0.551, allocations: 0.8073 MB / 1.083 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/0.5564, allocations: 1.107 MB / 1.084 GB, free: 7.203 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00731/0.5637, allocations: 3.414 MB / 1.088 GB, free: 5.254 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/0.5642, allocations: 412.7 kB / 1.088 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/0.5665, allocations: 0.5362 MB / 1.089 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01961/0.5861, allocations: 9.379 MB / 1.098 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000256/0.5864, allocations: 30.97 kB / 1.098 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001971/0.5883, allocations: 239.1 kB / 1.098 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003969/0.5887, allocations: 353.8 kB / 1.098 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.602, allocations: 6.813 MB / 1.105 GB, free: 11.37 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03428/0.6363, allocations: 25.1 MB / 1.13 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.639, allocations: 2.291 MB / 1.132 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.6409, allocations: 1.774 MB / 1.134 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.287e-05/0.641, allocations: 25.94 kB / 1.134 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.641, allocations: 51.67 kB / 1.134 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=179): time 4.268e-06/0.641, allocations: 3.938 kB / 1.134 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of matching and sorting (n=182): time 0.01576/0.6568, allocations: 9.692 MB / 1.143 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.6568, allocations: 77.41 kB / 1.143 GB, free: 9.176 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.6585, allocations: 1.565 MB / 1.145 GB, free: 7.566 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.6587, allocations: 57.7 kB / 1.145 GB, free: 7.504 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.6598, allocations: 2.32 MB / 1.147 GB, free: 5.168 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000605/0.6604, allocations: 0.6541 MB / 1.148 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/0.6609, allocations: 400.2 kB / 1.148 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.661, allocations: 301.1 kB / 1.148 GB, free: 3.828 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.6622, allocations: 1.179 MB / 1.149 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.6637, allocations: 1.884 MB / 1.151 GB, free: 460 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.6666, allocations: 3.372 MB / 1.155 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.6666, allocations: 8 kB / 1.155 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005373/0.672, allocations: 4.534 MB / 1.159 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.672, allocations: 16 kB / 1.159 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.672, allocations: 24.91 kB / 1.159 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.6743, allocations: 1.579 MB / 1.161 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.6751, allocations: 353.8 kB / 1.161 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.6903, allocations: 17.93 MB / 1.178 GB, free: 4.215 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6918, allocations: 123.9 kB / 1.179 GB, free: 4.094 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.6921, allocations: 103.9 kB / 1.179 GB, free: 3.992 MB / 1.01 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003207/0.6953, allocations: 1.893 MB / 1.181 GB, free: 2.113 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/0.6958, allocations: 234.5 kB / 1.181 GB, free: 1.883 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.7004, allocations: 4.044 MB / 1.185 GB, free: 13.87 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.7004, allocations: 20 kB / 1.185 GB, free: 13.85 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.904e-05/0.7004, allocations: 16 kB / 1.185 GB, free: 13.83 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.7004, allocations: 7.969 kB / 1.185 GB, free: 13.82 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.7132, allocations: 8.658 MB / 1.193 GB, free: 5.145 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.7132, allocations: 4 kB / 1.193 GB, free: 5.141 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.7138, allocations: 186.2 kB / 1.193 GB, free: 4.969 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/0.7158, allocations: 1.347 MB / 1.195 GB, free: 3.613 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/0.716, allocations: 40 kB / 1.195 GB, free: 3.574 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.7305, allocations: 16.72 MB / 1.211 GB, free: 2.453 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.7306, allocations: 8 kB / 1.211 GB, free: 2.445 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004757/0.7353, allocations: 4.03 MB / 1.215 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.7365, allocations: 480.5 kB / 1.215 GB, free: 13.91 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.7368, allocations: 40.12 kB / 1.215 GB, free: 13.87 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/0.7375, allocations: 87.89 kB / 1.216 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/0.7379, allocations: 177.1 kB / 1.216 GB, free: 13.62 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.738, allocations: 44 kB / 1.216 GB, free: 13.57 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001106/0.7391, allocations: 1.008 MB / 1.217 GB, free: 12.54 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.7391, allocations: 0 / 1.217 GB, free: 12.54 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003409/0.7425, allocations: 0.9883 MB / 1.218 GB, free: 11.55 MB / 1.057 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005213/0.7477, allocations: 4.629 MB / 1.222 GB, free: 6.895 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.00509/0.7528, allocations: 4.156 MB / 1.226 GB, free: 2.797 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7528, allocations: 0 / 1.226 GB, free: 2.797 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00307/0.7558, allocations: 2.58 MB / 1.229 GB, free: 204 kB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.7586, allocations: 0.7849 MB / 1.23 GB, free: 15.45 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/0.7958, allocations: 27.02 MB / 1.256 GB, free: 3.547 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/0.7985, allocations: 3.035 MB / 1.259 GB, free: 480 kB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0009769/0.7995, allocations: 467.9 kB / 1.259 GB, free: 8 kB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.8008, allocations: 1.787 MB / 1.261 GB, free: 14.22 MB / 1.104 GB Notification: Performance of SimCode: time 9.22e-07/0.8008, allocations: 3.938 kB / 1.261 GB, free: 14.22 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0866/0.8874, allocations: 78.53 MB / 1.338 GB, free: 0.8359 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/9.406, allocations: 20.69 kB / 1.338 GB, free: 0.8242 MB / 1.167 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.702120854519308]