Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.001092/0.001092, 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.0008958/0.0008958, 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.8528/0.8528, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.773/1.773, allocations: 389 MB / 0.633 GB, free: 12.67 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.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.878e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02605/0.02607, allocations: 38.35 MB / 1.037 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4253/0.4513, allocations: 15.04 MB / 1.052 GB, free: 51.24 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.454, allocations: 249 kB / 1.052 GB, free: 51.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.4584, allocations: 4.497 MB / 1.056 GB, free: 51.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003831/0.4622, allocations: 3.028 MB / 1.059 GB, free: 50.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.4661, allocations: 3.209 MB / 1.063 GB, free: 49.69 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00638/0.4724, allocations: 11.65 MB / 1.074 GB, free: 44.81 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005591/0.478, allocations: 6.732 MB / 1.081 GB, free: 41.73 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007126/0.4852, allocations: 6.885 MB / 1.087 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007186/0.4923, allocations: 5.096 MB / 1.092 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001639/0.494, allocations: 0.948 MB / 1.093 GB, free: 37.71 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/0.4973, allocations: 1.927 MB / 1.095 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003086/0.5004, allocations: 3.952 MB / 1.099 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.004134/0.5046, allocations: 3.029 MB / 1.102 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.518, allocations: 14.56 MB / 1.116 GB, free: 30.36 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.518, allocations: 0 / 1.116 GB, free: 30.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.518, allocations: 3.938 kB / 1.116 GB, free: 30.35 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003081/0.5183, allocations: 5.062 kB / 1.116 GB, free: 30.35 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01176/0.5301, allocations: 7.63 MB / 1.124 GB, free: 26.35 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5301, allocations: 10.25 kB / 1.124 GB, free: 26.35 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001033/0.5311, allocations: 0.895 MB / 1.124 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.5365, allocations: 1.567 MB / 1.126 GB, free: 25.43 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005522/0.542, allocations: 4.385 MB / 1.13 GB, free: 23.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.5422, allocations: 459.1 kB / 1.131 GB, free: 23.11 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007594/0.5429, allocations: 0.5997 MB / 1.131 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.5542, allocations: 11.59 MB / 1.143 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.5543, allocations: 35.77 kB / 1.143 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005377/0.5548, allocations: 260.5 kB / 1.143 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001415/0.5562, allocations: 0.7792 MB / 1.144 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009705/0.5659, allocations: 8.541 MB / 1.152 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02739/0.5933, allocations: 31.43 MB / 1.183 GB, free: 2.195 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.5968, allocations: 3.974 MB / 1.187 GB, free: 14.22 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/0.5999, allocations: 3.366 MB / 1.19 GB, free: 10.85 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.6001, allocations: 34.78 kB / 1.19 GB, free: 10.82 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.6002, allocations: 77.2 kB / 1.19 GB, free: 10.73 MB / 1.026 GB Notification: Performance of pre-optimization done (n=353): time 5.901e-06/0.6002, allocations: 0 / 1.19 GB, free: 10.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=578): time 0.251/0.8512, allocations: 121.1 MB / 1.308 GB, free: 1.301 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.8512, allocations: 115.9 kB / 1.308 GB, free: 1.172 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.8539, allocations: 2.72 MB / 1.311 GB, free: 14.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005174/0.8545, allocations: 121.7 kB / 1.311 GB, free: 14.33 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.8558, allocations: 2.741 MB / 1.314 GB, free: 11.57 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.8572, allocations: 2.026 MB / 1.316 GB, free: 9.574 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.8584, allocations: 0.9173 MB / 1.317 GB, free: 8.648 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.8585, allocations: 305.1 kB / 1.317 GB, free: 8.348 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004084/0.8625, allocations: 4.079 MB / 1.321 GB, free: 4.262 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/0.867, allocations: 5.015 MB / 1.326 GB, free: 14.92 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009061/0.8761, allocations: 9.857 MB / 1.335 GB, free: 4.691 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.8761, allocations: 8 kB / 1.335 GB, free: 4.684 MB / 1.167 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02223/0.8983, allocations: 16.74 MB / 1.352 GB, free: 3.816 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.8983, allocations: 16 kB / 1.352 GB, free: 3.801 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.8984, allocations: 20 kB / 1.352 GB, free: 3.781 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/0.9149, allocations: 9.069 MB / 1.361 GB, free: 10.67 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.9163, allocations: 0.5187 MB / 1.361 GB, free: 10.15 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06756/0.9839, allocations: 74.63 MB / 1.434 GB, free: 14.27 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/0.9875, allocations: 283.9 kB / 1.434 GB, free: 14 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/0.9878, allocations: 196 kB / 1.434 GB, free: 13.8 MB / 1.276 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003596/0.9914, allocations: 2.421 MB / 1.437 GB, free: 11.37 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006911/0.9921, allocations: 0.4931 MB / 1.437 GB, free: 10.88 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02124/1.013, allocations: 16.54 MB / 1.453 GB, free: 10.2 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/1.013, allocations: 56 kB / 1.454 GB, free: 10.14 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001076/1.013, allocations: 75.94 kB / 1.454 GB, free: 10.07 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/1.014, allocations: 31.83 kB / 1.454 GB, free: 10.04 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03097/1.045, allocations: 24 MB / 1.477 GB, free: 1.801 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.045, allocations: 11.94 kB / 1.477 GB, free: 1.789 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/1.045, allocations: 312.4 kB / 1.477 GB, free: 1.484 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01502/1.06, allocations: 8.261 MB / 1.485 GB, free: 9.184 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005571/1.061, allocations: 107.9 kB / 1.486 GB, free: 9.078 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06259/1.124, allocations: 71.49 MB / 1.555 GB, free: 348 kB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.124, allocations: 16 kB / 1.555 GB, free: 332 kB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4364/1.56, allocations: 21.3 MB / 1.576 GB, free: 448.4 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/1.563, allocations: 1.307 MB / 1.577 GB, free: 448.4 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006466/1.563, allocations: 104.8 kB / 1.578 GB, free: 448.4 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.565, allocations: 291.2 kB / 1.578 GB, free: 448.4 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001443/1.567, allocations: 0.5506 MB / 1.578 GB, free: 448.4 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/1.567, allocations: 149.7 kB / 1.579 GB, free: 448.4 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.001633/1.569, allocations: 1.768 MB / 1.58 GB, free: 448.3 MB / 1.401 GB Notification: Performance of sort global known variables: time 1.71e-07/1.569, allocations: 0 / 1.58 GB, free: 448.3 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.005637/1.574, allocations: 2.462 MB / 1.583 GB, free: 448.3 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02339/1.598, allocations: 21.99 MB / 1.604 GB, free: 444.1 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.01622/1.614, allocations: 13.73 MB / 1.618 GB, free: 437.9 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.614, allocations: 3.438 kB / 1.618 GB, free: 437.9 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/1.625, allocations: 9.015 MB / 1.626 GB, free: 433.5 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/1.63, allocations: 1.381 MB / 1.628 GB, free: 433.1 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08463/1.714, allocations: 70 MB / 1.696 GB, free: 400.8 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004376/1.719, allocations: 4.393 MB / 1.7 GB, free: 397.5 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.002122/1.721, allocations: 0.742 MB / 1.701 GB, free: 397 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.722, allocations: 2.614 MB / 1.704 GB, free: 394.5 MB / 1.401 GB Notification: Performance of SimCode: time 1.733e-06/1.722, allocations: 0 / 1.704 GB, free: 394.5 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2029/1.925, allocations: 208.8 MB / 1.908 GB, free: 189.8 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/15.08, allocations: 19.3 kB / 1.908 GB, free: 189.8 MB / 1.401 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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: 19.772595359943807]