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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.105/3.105, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001924/0.001924, allocations: 68.78 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3136, allocations: 173.9 MB / 1.304 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.051/0.3646, allocations: 41.81 MB / 1.345 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02841/0.393, allocations: 15.29 MB / 1.36 GB, free: 8.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005325/0.3983, allocations: 191 kB / 1.36 GB, free: 8.043 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01281/0.4111, allocations: 4.539 MB / 1.364 GB, free: 3.492 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008615/0.4197, allocations: 2.931 MB / 1.367 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.009281/0.429, allocations: 3.161 MB / 1.37 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01571/0.4447, allocations: 11.4 MB / 1.381 GB, free: 1.953 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0144/0.4591, allocations: 9.24 MB / 1.39 GB, free: 8.578 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008573/0.4677, allocations: 4.896 MB / 1.395 GB, free: 3.668 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.4779, allocations: 5.752 MB / 1.401 GB, free: 13.9 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003143/0.481, allocations: 0.9531 MB / 1.402 GB, free: 12.95 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006414/0.4874, allocations: 2.071 MB / 1.404 GB, free: 10.87 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.006479/0.4939, allocations: 3.788 MB / 1.408 GB, free: 7.074 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01358/0.5075, allocations: 4.291 MB / 1.412 GB, free: 2.766 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02123/0.5287, allocations: 14.31 MB / 1.426 GB, free: 4.406 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5287, allocations: 4 kB / 1.426 GB, free: 4.402 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5287, allocations: 0 / 1.426 GB, free: 4.402 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004162/0.5291, allocations: 4 kB / 1.426 GB, free: 4.398 MB / 1.123 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.02262/0.5518, allocations: 7.794 MB / 1.433 GB, free: 12.51 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5518, allocations: 8.625 kB / 1.433 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003127/0.5549, allocations: 0.8916 MB / 1.434 GB, free: 11.6 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.5662, allocations: 1.554 MB / 1.436 GB, free: 10.04 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.5785, allocations: 4.473 MB / 1.44 GB, free: 5.496 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005338/0.5791, allocations: 460.4 kB / 1.441 GB, free: 5.043 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002538/0.5816, allocations: 0.5939 MB / 1.441 GB, free: 4.449 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/0.6082, allocations: 10.69 MB / 1.452 GB, free: 9.383 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003424/0.6086, allocations: 35.77 kB / 1.452 GB, free: 9.348 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002272/0.6109, allocations: 259.9 kB / 1.452 GB, free: 9.094 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002918/0.6138, allocations: 0.7768 MB / 1.453 GB, free: 8.312 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/0.6336, allocations: 8.561 MB / 1.461 GB, free: 15.73 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07414/0.7077, allocations: 46.61 MB / 1.506 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006614/0.7143, allocations: 3.984 MB / 1.51 GB, free: 9.355 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00607/0.7204, allocations: 3.373 MB / 1.514 GB, free: 5.984 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000406/0.7208, allocations: 34.78 kB / 1.514 GB, free: 5.949 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.954e-05/0.7209, allocations: 81.34 kB / 1.514 GB, free: 5.859 MB / 1.217 GB Notification: Performance of pre-optimization done (n=353): time 8.065e-06/0.7209, allocations: 0 / 1.514 GB, free: 5.859 MB / 1.217 GB Notification: Performance of matching and sorting (n=578): time 1.109/1.83, allocations: 122.6 MB / 1.633 GB, free: 274.9 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/1.83, allocations: 110.2 kB / 1.634 GB, free: 274.9 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/1.835, allocations: 2.68 MB / 1.636 GB, free: 273.9 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/1.836, allocations: 120.4 kB / 1.636 GB, free: 273.8 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001827/1.838, allocations: 2.752 MB / 1.639 GB, free: 272.1 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002493/1.84, allocations: 2.053 MB / 1.641 GB, free: 270.6 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001961/1.842, allocations: 0.9324 MB / 1.642 GB, free: 270.2 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 5.257e-05/1.842, allocations: 309.5 kB / 1.642 GB, free: 269.9 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005153/1.847, allocations: 4.078 MB / 1.646 GB, free: 268.2 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005762/1.853, allocations: 5.016 MB / 1.651 GB, free: 265.5 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/1.866, allocations: 9.853 MB / 1.661 GB, free: 260.3 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.29e-05/1.866, allocations: 7.375 kB / 1.661 GB, free: 260.3 MB / 1.311 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03552/1.901, allocations: 16.74 MB / 1.677 GB, free: 253.4 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/1.901, allocations: 12.47 kB / 1.677 GB, free: 253.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/1.901, allocations: 27.72 kB / 1.677 GB, free: 253.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02825/1.93, allocations: 9.082 MB / 1.686 GB, free: 246.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/1.932, allocations: 0.5265 MB / 1.686 GB, free: 245.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08351/2.015, allocations: 77.03 MB / 1.762 GB, free: 167.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/2.02, allocations: 284.4 kB / 1.762 GB, free: 166.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009762/2.021, allocations: 192 kB / 1.762 GB, free: 166.6 MB / 1.311 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.004345/2.026, allocations: 2.421 MB / 1.765 GB, free: 164.2 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/2.027, allocations: 497 kB / 1.765 GB, free: 163.7 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03157/2.059, allocations: 16.54 MB / 1.781 GB, free: 147 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/2.059, allocations: 56 kB / 1.781 GB, free: 146.9 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001688/2.059, allocations: 72 kB / 1.781 GB, free: 146.9 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.954e-05/2.059, allocations: 23.91 kB / 1.781 GB, free: 146.8 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04845/2.107, allocations: 25.38 MB / 1.806 GB, free: 121.2 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/2.107, allocations: 8 kB / 1.806 GB, free: 121.2 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/2.109, allocations: 320.3 kB / 1.806 GB, free: 120.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02499/2.134, allocations: 8.269 MB / 1.814 GB, free: 112.6 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008667/2.135, allocations: 112 kB / 1.815 GB, free: 112.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07923/2.214, allocations: 73.89 MB / 1.887 GB, free: 37.06 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.214, allocations: 11.94 kB / 1.887 GB, free: 37.05 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03696/2.251, allocations: 21.31 MB / 1.908 GB, free: 15.38 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004143/2.255, allocations: 1.375 MB / 1.909 GB, free: 13.98 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/2.257, allocations: 115.9 kB / 1.909 GB, free: 13.87 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003403/2.26, allocations: 287.6 kB / 1.909 GB, free: 13.59 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00176/2.262, allocations: 0.5231 MB / 1.91 GB, free: 13.06 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004404/2.262, allocations: 148 kB / 1.91 GB, free: 12.91 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002475/2.265, allocations: 1.776 MB / 1.912 GB, free: 11.15 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/2.265, allocations: 0 / 1.912 GB, free: 11.15 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.007375/2.272, allocations: 2.465 MB / 1.914 GB, free: 8.684 MB / 1.311 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.04358/2.316, allocations: 22.01 MB / 1.936 GB, free: 2.301 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.03063/2.346, allocations: 13.73 MB / 1.949 GB, free: 4.383 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/2.346, allocations: 4 kB / 1.949 GB, free: 4.379 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.02077/2.367, allocations: 9.043 MB / 1.958 GB, free: 11.19 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00835/2.375, allocations: 1.37 MB / 1.959 GB, free: 9.875 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1663/2.542, allocations: 69.84 MB / 2.027 GB, free: 2.367 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009648/2.551, allocations: 4.897 MB / 2.032 GB, free: 13.43 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.003179/2.555, allocations: 0.7449 MB / 2.033 GB, free: 12.68 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004118/2.559, allocations: 2.608 MB / 2.035 GB, free: 10.07 MB / 1.436 GB Notification: Performance of SimCode: time 1.472e-06/2.559, allocations: 0 / 2.035 GB, free: 10.07 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.082/3.641, allocations: 197.8 MB / 2.229 GB, free: 0.5224 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.34/24.98, allocations: 5.297 kB / 2.229 GB, free: 0.5224 GB / 1.607 GB " [Timeout remaining time 275] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 32.5372947640717]