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.001606/0.001606, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002069/0.002069, allocations: 217.4 kB / 22.25 MB, free: 5.078 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.446/1.446, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.119/3.119, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.001967/0.001967, allocations: 65.73 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05493/0.4074, allocations: 43.05 MB / 1.395 GB, free: 13.25 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02787/0.4353, allocations: 15.76 MB / 1.41 GB, free: 13.45 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004985/0.4403, allocations: 250.1 kB / 1.411 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0125/0.4528, allocations: 4.677 MB / 1.415 GB, free: 8.512 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008809/0.4616, allocations: 2.923 MB / 1.418 GB, free: 5.574 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00884/0.4704, allocations: 3.257 MB / 1.421 GB, free: 2.316 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01719/0.4876, allocations: 11.43 MB / 1.432 GB, free: 6.852 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.015/0.5026, allocations: 6.776 MB / 1.439 GB, free: 15.95 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009491/0.5121, allocations: 4.962 MB / 1.444 GB, free: 10.98 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.5227, allocations: 5.76 MB / 1.449 GB, free: 5.199 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.003513/0.5262, allocations: 0.9492 MB / 1.45 GB, free: 4.25 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006807/0.533, allocations: 2.072 MB / 1.452 GB, free: 2.176 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.008474/0.5415, allocations: 3.784 MB / 1.456 GB, free: 14.38 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01045/0.5519, allocations: 4.303 MB / 1.46 GB, free: 10.06 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02076/0.5727, allocations: 14.31 MB / 1.474 GB, free: 11.7 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.5727, allocations: 3.984 kB / 1.474 GB, free: 11.7 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5727, allocations: 4 kB / 1.474 GB, free: 11.7 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004954/0.5732, allocations: 0 / 1.474 GB, free: 11.7 MB / 1.17 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.02367/0.5969, allocations: 7.711 MB / 1.482 GB, free: 3.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5969, allocations: 12.03 kB / 1.482 GB, free: 3.898 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003506/0.6004, allocations: 0.8994 MB / 1.483 GB, free: 2.988 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.6116, allocations: 1.554 MB / 1.484 GB, free: 1.43 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/0.6245, allocations: 4.382 MB / 1.488 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000566/0.625, allocations: 460.4 kB / 1.489 GB, free: 12.51 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002665/0.6277, allocations: 0.59 MB / 1.489 GB, free: 11.92 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/0.6548, allocations: 10.69 MB / 1.5 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003692/0.6552, allocations: 31.77 kB / 1.5 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002288/0.6575, allocations: 267.9 kB / 1.5 GB, free: 0.5664 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/0.6604, allocations: 0.7729 MB / 1.501 GB, free: 15.79 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02042/0.6808, allocations: 8.561 MB / 1.509 GB, free: 7.207 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07968/0.7605, allocations: 46.25 MB / 1.554 GB, free: 5.18 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008443/0.7689, allocations: 3.989 MB / 1.558 GB, free: 1.18 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007657/0.7766, allocations: 3.369 MB / 1.562 GB, free: 13.8 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/0.7772, allocations: 38.77 kB / 1.562 GB, free: 13.77 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.7774, allocations: 77.34 kB / 1.562 GB, free: 13.68 MB / 1.264 GB Notification: Performance of pre-optimization done (n=353): time 1.177e-05/0.7774, allocations: 0 / 1.562 GB, free: 13.68 MB / 1.264 GB Notification: Performance of matching and sorting (n=578): time 1.138/1.915, allocations: 121.1 MB / 1.68 GB, free: 197.1 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/1.915, allocations: 107.9 kB / 1.68 GB, free: 197 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/1.919, allocations: 2.684 MB / 1.683 GB, free: 194.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.92, allocations: 125.7 kB / 1.683 GB, free: 194.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.921, allocations: 2.746 MB / 1.686 GB, free: 191.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/1.923, allocations: 2.048 MB / 1.688 GB, free: 189.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/1.925, allocations: 0.929 MB / 1.688 GB, free: 188.9 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/1.925, allocations: 309.1 kB / 1.689 GB, free: 188.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004908/1.93, allocations: 4.079 MB / 1.693 GB, free: 184.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005486/1.935, allocations: 5.015 MB / 1.698 GB, free: 179.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/1.947, allocations: 9.844 MB / 1.707 GB, free: 169 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-05/1.947, allocations: 7.938 kB / 1.707 GB, free: 169 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04683/1.994, allocations: 16.75 MB / 1.724 GB, free: 152.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/1.994, allocations: 16 kB / 1.724 GB, free: 152.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/1.994, allocations: 20 kB / 1.724 GB, free: 152.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03054/2.025, allocations: 9.084 MB / 1.733 GB, free: 142.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/2.027, allocations: 0.5187 MB / 1.733 GB, free: 142.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08824/2.115, allocations: 75.91 MB / 1.807 GB, free: 65.29 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006042/2.121, allocations: 279.8 kB / 1.807 GB, free: 65.01 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009874/2.122, allocations: 191.9 kB / 1.808 GB, free: 64.82 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.00433/2.126, allocations: 2.429 MB / 1.81 GB, free: 62.38 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/2.128, allocations: 493 kB / 1.81 GB, free: 61.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03346/2.161, allocations: 16.54 MB / 1.827 GB, free: 45.21 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.695e-05/2.161, allocations: 56 kB / 1.827 GB, free: 45.16 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001723/2.161, allocations: 72 kB / 1.827 GB, free: 45.09 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.906e-05/2.161, allocations: 27.89 kB / 1.827 GB, free: 45.06 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04693/2.208, allocations: 25.37 MB / 1.852 GB, free: 19.46 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-05/2.208, allocations: 12.19 kB / 1.852 GB, free: 19.45 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/2.21, allocations: 319.5 kB / 1.852 GB, free: 19.14 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02515/2.235, allocations: 8.276 MB / 1.86 GB, free: 10.82 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/2.236, allocations: 107.9 kB / 1.86 GB, free: 10.72 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1098/2.346, allocations: 72.78 MB / 1.931 GB, free: 0.6836 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/2.346, allocations: 8 kB / 1.931 GB, free: 0.6758 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04824/2.394, allocations: 21.31 MB / 1.952 GB, free: 11 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004996/2.399, allocations: 1.313 MB / 1.953 GB, free: 9.688 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002019/2.401, allocations: 104 kB / 1.953 GB, free: 9.586 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004354/2.406, allocations: 291.6 kB / 1.954 GB, free: 9.301 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002745/2.408, allocations: 0.5605 MB / 1.954 GB, free: 8.734 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001154/2.41, allocations: 140 kB / 1.954 GB, free: 8.598 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.004393/2.414, allocations: 1.78 MB / 1.956 GB, free: 6.828 MB / 1.389 GB Notification: Performance of sort global known variables: time 1.2e-07/2.414, allocations: 0 / 1.956 GB, free: 6.828 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.01046/2.424, allocations: 2.463 MB / 1.958 GB, free: 4.367 MB / 1.389 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.05543/2.48, allocations: 22.01 MB / 1.98 GB, free: 13.99 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.03219/2.512, allocations: 13.73 MB / 1.993 GB, free: 60 kB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/2.512, allocations: 5 kB / 1.993 GB, free: 56 kB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.02142/2.534, allocations: 9.031 MB / 2.002 GB, free: 6.875 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009554/2.543, allocations: 1.381 MB / 2.003 GB, free: 5.543 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1702/2.713, allocations: 70.01 MB / 2.072 GB, free: 13.87 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.724, allocations: 4.893 MB / 2.077 GB, free: 8.93 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.003274/2.727, allocations: 0.7487 MB / 2.077 GB, free: 8.176 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004375/2.731, allocations: 2.612 MB / 2.08 GB, free: 5.562 MB / 1.514 GB Notification: Performance of SimCode: time 1.172e-06/2.731, allocations: 0 / 2.08 GB, free: 5.562 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.126/3.857, allocations: 204 MB / 2.279 GB, free: 0.5498 GB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.09/26.94, allocations: 11.47 kB / 2.279 GB, free: 0.5498 GB / 1.67 GB " [Timeout remaining time 273] (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/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: 34.73351593897678]