Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0007882/0.0007882, 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.000772/0.000772, 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.8412/0.8412, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.725/1.725, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.328e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01445/0.01447, allocations: 21.12 MB / 1.02 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006704/0.02117, allocations: 6.127 MB / 1.026 GB, free: 2.18 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.02181, allocations: 123.1 kB / 1.026 GB, free: 2.059 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.02377, allocations: 1.584 MB / 1.028 GB, free: 480 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.02537, allocations: 1.768 MB / 1.03 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.02668, allocations: 1.362 MB / 1.031 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003385/0.03007, allocations: 6.044 MB / 1.037 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.03258, allocations: 3.19 MB / 1.04 GB, free: 3.996 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.03524, allocations: 3.438 MB / 1.043 GB, free: 0.5508 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4388/0.474, allocations: 2.776 MB / 1.046 GB, free: 54.86 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006841/0.4747, allocations: 456.4 kB / 1.047 GB, free: 54.86 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.4761, allocations: 1.053 MB / 1.048 GB, free: 54.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.4772, allocations: 2.188 MB / 1.05 GB, free: 54.86 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009513/0.4781, allocations: 1.501 MB / 1.051 GB, free: 54.86 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003288/0.4814, allocations: 7.436 MB / 1.058 GB, free: 54.58 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4814, allocations: 0 / 1.058 GB, free: 54.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4814, allocations: 2.938 kB / 1.058 GB, free: 54.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.695e-05/0.4814, allocations: 0 / 1.058 GB, free: 54.58 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003185/0.4846, allocations: 3.797 MB / 1.062 GB, free: 53.01 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4847, allocations: 13.64 kB / 1.062 GB, free: 53.01 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003872/0.4851, allocations: 0.4996 MB / 1.063 GB, free: 52.95 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.4878, allocations: 1.243 MB / 1.064 GB, free: 52.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.4899, allocations: 2.297 MB / 1.066 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/0.49, allocations: 245.5 kB / 1.066 GB, free: 52.22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/0.4903, allocations: 315.5 kB / 1.067 GB, free: 52.22 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/0.4953, allocations: 6.438 MB / 1.073 GB, free: 49.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.4954, allocations: 21.45 kB / 1.073 GB, free: 49.47 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.4956, allocations: 139.1 kB / 1.073 GB, free: 49.38 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004435/0.4961, allocations: 405.9 kB / 1.073 GB, free: 49.32 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005439/0.5015, allocations: 4.657 MB / 1.078 GB, free: 47.81 MB / 0.9948 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.01369/0.5152, allocations: 18.62 MB / 1.096 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.5165, allocations: 1.374 MB / 1.098 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.5178, allocations: 1.435 MB / 1.099 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.5179, allocations: 11.97 kB / 1.099 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.5179, allocations: 44.47 kB / 1.099 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 4.088e-06/0.5179, allocations: 3.984 kB / 1.099 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.07005/0.588, allocations: 37.07 MB / 1.135 GB, free: 27.99 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.588, allocations: 75.64 kB / 1.135 GB, free: 27.92 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.5893, allocations: 1.456 MB / 1.137 GB, free: 27.13 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5894, allocations: 51.42 kB / 1.137 GB, free: 27.08 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.5898, allocations: 1.577 MB / 1.138 GB, free: 25.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.5901, allocations: 0.6335 MB / 1.139 GB, free: 25.15 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.5905, allocations: 376.9 kB / 1.139 GB, free: 24.95 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.652e-05/0.5905, allocations: 305.1 kB / 1.14 GB, free: 24.65 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.592, allocations: 1.791 MB / 1.141 GB, free: 23.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.5936, allocations: 2.348 MB / 1.144 GB, free: 22.07 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.5967, allocations: 4.389 MB / 1.148 GB, free: 19.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.5967, allocations: 12.72 kB / 1.148 GB, free: 19.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008697/0.6054, allocations: 8.424 MB / 1.156 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.6054, allocations: 12 kB / 1.156 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.6055, allocations: 20 kB / 1.156 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006861/0.6123, allocations: 4.614 MB / 1.161 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.6129, allocations: 301.8 kB / 1.161 GB, free: 9.285 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/0.6393, allocations: 31.59 MB / 1.192 GB, free: 9.133 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.6406, allocations: 147.8 kB / 1.192 GB, free: 8.988 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6407, allocations: 84 kB / 1.192 GB, free: 8.906 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001799/0.6425, allocations: 1.327 MB / 1.193 GB, free: 7.59 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6427, allocations: 210.7 kB / 1.194 GB, free: 7.383 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/0.6527, allocations: 8.298 MB / 1.202 GB, free: 15.16 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.6527, allocations: 16 kB / 1.202 GB, free: 15.14 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.6527, allocations: 24.62 kB / 1.202 GB, free: 15.12 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6527, allocations: 11.97 kB / 1.202 GB, free: 15.11 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.6672, allocations: 12.22 MB / 1.214 GB, free: 2.906 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6672, allocations: 4 kB / 1.214 GB, free: 2.902 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.6675, allocations: 165.3 kB / 1.214 GB, free: 2.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007796/0.6753, allocations: 4.471 MB / 1.218 GB, free: 14.28 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.6754, allocations: 35 kB / 1.218 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/0.7025, allocations: 31.2 MB / 1.249 GB, free: 14.46 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.7025, allocations: 10.72 kB / 1.249 GB, free: 14.45 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009864/0.7124, allocations: 8.087 MB / 1.257 GB, free: 6.277 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008506/0.7132, allocations: 0.5477 MB / 1.257 GB, free: 5.73 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.7134, allocations: 43.95 kB / 1.257 GB, free: 5.688 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.7141, allocations: 131.8 kB / 1.257 GB, free: 5.559 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/0.7145, allocations: 184.7 kB / 1.257 GB, free: 5.379 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.7146, allocations: 52 kB / 1.257 GB, free: 5.328 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0008466/0.7154, allocations: 0.9627 MB / 1.258 GB, free: 4.371 MB / 1.089 GB Notification: Performance of sort global known variables: time 4e-08/0.7154, allocations: 0 / 1.258 GB, free: 4.371 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.00232/0.7177, allocations: 1.116 MB / 1.259 GB, free: 3.258 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01002/0.7278, allocations: 8.677 MB / 1.268 GB, free: 10.45 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.006671/0.7344, allocations: 6.292 MB / 1.274 GB, free: 4.129 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7344, allocations: 0 / 1.274 GB, free: 4.129 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004622/0.7391, allocations: 4.189 MB / 1.278 GB, free: 15.88 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.7404, allocations: 0.527 MB / 1.279 GB, free: 15.36 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/0.7766, allocations: 33.57 MB / 1.312 GB, free: 12.87 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.7785, allocations: 2.166 MB / 1.314 GB, free: 10.66 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007228/0.7792, allocations: 388.5 kB / 1.314 GB, free: 10.28 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008858/0.7801, allocations: 1.215 MB / 1.315 GB, free: 9.062 MB / 1.151 GB Notification: Performance of SimCode: time 8.62e-07/0.7801, allocations: 0 / 1.315 GB, free: 9.062 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/0.8873, allocations: 89.99 MB / 1.403 GB, free: 15.75 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.085/9.973, allocations: 0 / 1.403 GB, free: 15.75 MB / 1.245 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 14.151883791200817]