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.001543/0.001543, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001997/0.001997, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.781 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.319/3.319, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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.002176/0.002176, allocations: 65.66 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3221, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05202/0.3741, allocations: 39.12 MB / 1.402 GB, free: 6.848 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03143/0.4056, allocations: 15.32 MB / 1.417 GB, free: 7.484 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004229/0.4098, allocations: 246.1 kB / 1.417 GB, free: 7.242 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01279/0.4226, allocations: 4.499 MB / 1.421 GB, free: 2.734 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008116/0.4307, allocations: 2.927 MB / 1.424 GB, free: 15.79 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.008713/0.4394, allocations: 3.187 MB / 1.427 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01738/0.4568, allocations: 11.42 MB / 1.438 GB, free: 1.148 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.4725, allocations: 6.706 MB / 1.445 GB, free: 10.32 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009952/0.4824, allocations: 4.993 MB / 1.45 GB, free: 5.309 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/0.493, allocations: 5.416 MB / 1.455 GB, free: 15.88 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.003526/0.4965, allocations: 0.9453 MB / 1.456 GB, free: 14.93 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006727/0.5033, allocations: 1.912 MB / 1.458 GB, free: 13.02 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.007129/0.5104, allocations: 3.788 MB / 1.462 GB, free: 9.219 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.009156/0.5195, allocations: 3.51 MB / 1.465 GB, free: 5.695 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02038/0.5399, allocations: 14.39 MB / 1.479 GB, free: 7.262 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5399, allocations: 0 / 1.479 GB, free: 7.262 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5399, allocations: 4 kB / 1.479 GB, free: 7.258 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004262/0.5404, allocations: 0 / 1.479 GB, free: 7.258 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.02254/0.5629, allocations: 7.709 MB / 1.487 GB, free: 15.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.563, allocations: 12.03 kB / 1.487 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00309/0.566, allocations: 0.8955 MB / 1.487 GB, free: 14.56 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.5772, allocations: 1.554 MB / 1.489 GB, free: 13 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.5899, allocations: 4.386 MB / 1.493 GB, free: 8.527 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005796/0.5905, allocations: 452.5 kB / 1.494 GB, free: 8.082 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002944/0.5934, allocations: 0.6017 MB / 1.494 GB, free: 7.48 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02632/0.6197, allocations: 11.58 MB / 1.506 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/0.6199, allocations: 35.77 kB / 1.506 GB, free: 11.26 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009427/0.6209, allocations: 267.9 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003147/0.624, allocations: 0.7768 MB / 1.507 GB, free: 10.22 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/0.6442, allocations: 8.537 MB / 1.515 GB, free: 1.66 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06559/0.7098, allocations: 31.46 MB / 1.546 GB, free: 1.535 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006592/0.7164, allocations: 3.967 MB / 1.55 GB, free: 13.56 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00605/0.7224, allocations: 3.376 MB / 1.553 GB, free: 10.18 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.7227, allocations: 34.78 kB / 1.553 GB, free: 10.14 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.142e-05/0.7228, allocations: 77.34 kB / 1.553 GB, free: 10.05 MB / 1.248 GB Notification: Performance of pre-optimization done (n=353): time 6.772e-06/0.7228, allocations: 0 / 1.553 GB, free: 10.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=578): time 1.143/1.865, allocations: 121.1 MB / 1.671 GB, free: 200.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/1.866, allocations: 107.9 kB / 1.671 GB, free: 200.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/1.869, allocations: 2.723 MB / 1.674 GB, free: 198.1 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/1.871, allocations: 125.7 kB / 1.674 GB, free: 198 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.872, allocations: 2.752 MB / 1.677 GB, free: 195.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0022/1.874, allocations: 2.054 MB / 1.679 GB, free: 193.6 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003379/1.877, allocations: 0.925 MB / 1.68 GB, free: 192.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.753e-05/1.878, allocations: 306.9 kB / 1.68 GB, free: 192.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005415/1.883, allocations: 4.075 MB / 1.684 GB, free: 188.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/1.889, allocations: 5.019 MB / 1.689 GB, free: 182.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/1.902, allocations: 9.851 MB / 1.698 GB, free: 172.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.98e-05/1.902, allocations: 11.94 kB / 1.698 GB, free: 172.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03922/1.941, allocations: 16.73 MB / 1.715 GB, free: 155.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/1.941, allocations: 16 kB / 1.715 GB, free: 155.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/1.941, allocations: 20.88 kB / 1.715 GB, free: 155.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03063/1.972, allocations: 9.072 MB / 1.724 GB, free: 146.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/1.974, allocations: 0.5226 MB / 1.724 GB, free: 146.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09469/2.069, allocations: 74.65 MB / 1.797 GB, free: 70.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/2.074, allocations: 279.8 kB / 1.797 GB, free: 70.03 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/2.075, allocations: 191.9 kB / 1.798 GB, free: 69.84 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.005072/2.08, allocations: 2.421 MB / 1.8 GB, free: 67.41 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/2.082, allocations: 493 kB / 1.8 GB, free: 66.92 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03572/2.118, allocations: 16.54 MB / 1.817 GB, free: 50.23 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/2.118, allocations: 56 kB / 1.817 GB, free: 50.18 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000215/2.118, allocations: 72.38 kB / 1.817 GB, free: 50.11 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/2.118, allocations: 32.45 kB / 1.817 GB, free: 50.07 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04932/2.167, allocations: 24.01 MB / 1.84 GB, free: 25.84 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.562e-05/2.167, allocations: 12 kB / 1.84 GB, free: 25.83 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/2.169, allocations: 315.5 kB / 1.84 GB, free: 25.52 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02624/2.195, allocations: 8.253 MB / 1.849 GB, free: 17.23 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008637/2.196, allocations: 107.9 kB / 1.849 GB, free: 17.12 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1057/2.302, allocations: 71.52 MB / 1.918 GB, free: 8.352 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/2.302, allocations: 15.69 kB / 1.919 GB, free: 8.34 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04826/2.35, allocations: 21.31 MB / 1.939 GB, free: 2.664 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004836/2.355, allocations: 1.309 MB / 1.941 GB, free: 1.355 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/2.356, allocations: 108 kB / 1.941 GB, free: 1.25 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003849/2.36, allocations: 287.6 kB / 1.941 GB, free: 0.9688 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001934/2.362, allocations: 0.5527 MB / 1.942 GB, free: 424 kB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004485/2.363, allocations: 148.1 kB / 1.942 GB, free: 276 kB / 1.373 GB Notification: Performance of sorting global known variables: time 0.002844/2.366, allocations: 1.778 MB / 1.943 GB, free: 14.5 MB / 1.389 GB Notification: Performance of sort global known variables: time 9e-08/2.366, allocations: 0 / 1.943 GB, free: 14.5 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.008271/2.374, allocations: 2.461 MB / 1.946 GB, free: 12.04 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.04816/2.422, allocations: 22.01 MB / 1.967 GB, free: 5.656 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.02917/2.451, allocations: 13.74 MB / 1.981 GB, free: 7.73 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.83e-05/2.451, allocations: 4 kB / 1.981 GB, free: 7.727 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.0199/2.471, allocations: 9.034 MB / 1.99 GB, free: 14.53 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007525/2.479, allocations: 1.388 MB / 1.991 GB, free: 13.2 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1556/2.634, allocations: 69.88 MB / 2.059 GB, free: 5.645 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009086/2.643, allocations: 4.391 MB / 2.063 GB, free: 1.199 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.003147/2.646, allocations: 0.7488 MB / 2.064 GB, free: 456 kB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004339/2.651, allocations: 2.617 MB / 2.067 GB, free: 13.87 MB / 1.514 GB Notification: Performance of SimCode: time 1.523e-06/2.651, allocations: 8 kB / 2.067 GB, free: 13.86 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.006/3.656, allocations: 209 MB / 2.271 GB, free: 0.5565 GB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.47/23.12, allocations: 1.219 kB / 2.271 GB, free: 0.5565 GB / 1.67 GB " [Timeout remaining time 277] (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: 31.180893077049404]