Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001265/0.001265, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001466/0.001466, allocations: 217.5 kB / 22.25 MB, free: 5.121 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_RLC_N,fileNamePrefix="Buildings_12_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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 65.27 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3509, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05199/0.4029, allocations: 43.04 MB / 1.368 GB, free: 6.758 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02956/0.4325, allocations: 15.78 MB / 1.383 GB, free: 6.941 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005451/0.4379, allocations: 246.1 kB / 1.384 GB, free: 6.699 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.451, allocations: 4.674 MB / 1.388 GB, free: 2.016 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.4614, allocations: 2.931 MB / 1.391 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009045/0.4704, allocations: 3.255 MB / 1.394 GB, free: 11.81 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0165/0.4869, allocations: 11.42 MB / 1.405 GB, free: 364 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0116/0.4985, allocations: 6.787 MB / 1.412 GB, free: 9.441 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008854/0.5074, allocations: 4.97 MB / 1.417 GB, free: 4.457 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.5179, allocations: 5.752 MB / 1.422 GB, free: 14.69 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002949/0.5209, allocations: 0.9492 MB / 1.423 GB, free: 13.74 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/0.5266, allocations: 2.072 MB / 1.425 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005319/0.5319, allocations: 3.795 MB / 1.429 GB, free: 7.859 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.008559/0.5404, allocations: 4.295 MB / 1.433 GB, free: 3.547 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02062/0.5611, allocations: 14.32 MB / 1.447 GB, free: 5.176 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.5611, allocations: 0 / 1.447 GB, free: 5.176 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5611, allocations: 0 / 1.447 GB, free: 5.176 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004819/0.5616, allocations: 0 / 1.447 GB, free: 5.176 MB / 1.139 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.02215/0.5837, allocations: 7.719 MB / 1.455 GB, free: 13.38 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5838, allocations: 8.031 kB / 1.455 GB, free: 13.38 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002914/0.5867, allocations: 0.8916 MB / 1.456 GB, free: 12.47 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.5974, allocations: 1.554 MB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.6095, allocations: 4.386 MB / 1.461 GB, free: 6.441 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005708/0.6101, allocations: 456.5 kB / 1.462 GB, free: 5.992 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/0.6128, allocations: 0.5901 MB / 1.463 GB, free: 5.402 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.6396, allocations: 10.68 MB / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003772/0.64, allocations: 39.7 kB / 1.473 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002305/0.6423, allocations: 255.9 kB / 1.473 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002793/0.6451, allocations: 0.7807 MB / 1.474 GB, free: 9.27 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.6653, allocations: 8.553 MB / 1.482 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0862/0.7515, allocations: 46.26 MB / 1.528 GB, free: 14.66 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007065/0.7586, allocations: 3.976 MB / 1.531 GB, free: 10.67 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006331/0.7649, allocations: 3.361 MB / 1.535 GB, free: 7.301 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004658/0.7654, allocations: 34.78 kB / 1.535 GB, free: 7.266 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.599e-05/0.7655, allocations: 81.28 kB / 1.535 GB, free: 7.176 MB / 1.232 GB Notification: Performance of pre-optimization done (n=353): time 6.773e-06/0.7655, allocations: 4 kB / 1.535 GB, free: 7.172 MB / 1.232 GB Notification: Performance of matching and sorting (n=578): time 1.14/1.905, allocations: 121.1 MB / 1.653 GB, free: 242.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/1.905, allocations: 110.9 kB / 1.653 GB, free: 242.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/1.909, allocations: 2.678 MB / 1.656 GB, free: 241.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.91, allocations: 129.7 kB / 1.656 GB, free: 241 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/1.911, allocations: 2.749 MB / 1.659 GB, free: 238.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.913, allocations: 2.048 MB / 1.661 GB, free: 236.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/1.914, allocations: 0.929 MB / 1.661 GB, free: 235.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/1.915, allocations: 301.1 kB / 1.662 GB, free: 235.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/1.919, allocations: 4.075 MB / 1.666 GB, free: 231.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/1.924, allocations: 5.019 MB / 1.671 GB, free: 226.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/1.936, allocations: 9.855 MB / 1.68 GB, free: 215.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.466e-05/1.936, allocations: 7.938 kB / 1.68 GB, free: 215.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03281/1.969, allocations: 16.74 MB / 1.697 GB, free: 198.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/1.969, allocations: 16 kB / 1.697 GB, free: 198.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/1.969, allocations: 24.16 kB / 1.697 GB, free: 198.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02688/1.996, allocations: 9.08 MB / 1.706 GB, free: 189.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.998, allocations: 0.5265 MB / 1.706 GB, free: 189.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08438/2.083, allocations: 75.91 MB / 1.78 GB, free: 112.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/2.087, allocations: 275.8 kB / 1.78 GB, free: 111.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007419/2.088, allocations: 195.9 kB / 1.781 GB, free: 111.7 MB / 1.295 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.004123/2.092, allocations: 2.425 MB / 1.783 GB, free: 109.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/2.093, allocations: 493 kB / 1.783 GB, free: 108.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03263/2.126, allocations: 16.54 MB / 1.8 GB, free: 92.06 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/2.126, allocations: 55.52 kB / 1.8 GB, free: 92.01 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002058/2.126, allocations: 75.98 kB / 1.8 GB, free: 91.93 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.881e-05/2.126, allocations: 23.91 kB / 1.8 GB, free: 91.91 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04749/2.174, allocations: 25.37 MB / 1.825 GB, free: 66.31 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.03e-05/2.174, allocations: 8 kB / 1.825 GB, free: 66.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/2.176, allocations: 319.5 kB / 1.825 GB, free: 65.99 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02558/2.201, allocations: 8.265 MB / 1.833 GB, free: 57.69 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/2.202, allocations: 117.6 kB / 1.833 GB, free: 57.57 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08892/2.291, allocations: 72.78 MB / 1.904 GB, free: 15.54 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/2.291, allocations: 11.94 kB / 1.904 GB, free: 15.53 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0483/2.34, allocations: 21.3 MB / 1.925 GB, free: 9.871 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004605/2.344, allocations: 1.317 MB / 1.926 GB, free: 8.551 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001692/2.346, allocations: 112 kB / 1.926 GB, free: 8.441 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004235/2.35, allocations: 291.6 kB / 1.927 GB, free: 8.156 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002725/2.353, allocations: 0.5605 MB / 1.927 GB, free: 7.594 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009249/2.354, allocations: 140 kB / 1.927 GB, free: 7.457 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.003822/2.358, allocations: 1.776 MB / 1.929 GB, free: 5.691 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.3e-07/2.358, allocations: 0 / 1.929 GB, free: 5.691 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.01019/2.368, allocations: 2.461 MB / 1.931 GB, free: 3.23 MB / 1.342 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.05278/2.421, allocations: 22.02 MB / 1.953 GB, free: 12.84 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.03064/2.451, allocations: 13.75 MB / 1.966 GB, free: 14.89 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/2.451, allocations: 0 / 1.966 GB, free: 14.89 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.02141/2.473, allocations: 9.01 MB / 1.975 GB, free: 5.727 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009362/2.482, allocations: 1.384 MB / 1.977 GB, free: 4.402 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1685/2.651, allocations: 70.02 MB / 2.045 GB, free: 12.72 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.661, allocations: 4.897 MB / 2.05 GB, free: 7.781 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.003512/2.664, allocations: 0.7448 MB / 2.05 GB, free: 7.031 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004698/2.669, allocations: 2.608 MB / 2.053 GB, free: 4.422 MB / 1.467 GB Notification: Performance of SimCode: time 1.333e-06/2.669, allocations: 4 kB / 2.053 GB, free: 4.418 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/3.726, allocations: 204 MB / 2.252 GB, free: 0.5288 GB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.92/27.65, allocations: 3.844 kB / 2.252 GB, free: 0.5288 GB / 1.623 GB " [Timeout remaining time 272] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 35.475138867041096]