Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001361/0.001361, 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.001805/0.001805, allocations: 219.7 kB / 22.26 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.477/1.477, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.8 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00207/0.00207, allocations: 71.03 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05429/0.3951, allocations: 43.04 MB / 1.325 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02928/0.4244, allocations: 15.77 MB / 1.341 GB, free: 0.707 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004807/0.4292, allocations: 250.1 kB / 1.341 GB, free: 472 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01316/0.4423, allocations: 4.677 MB / 1.346 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008814/0.4512, allocations: 2.931 MB / 1.348 GB, free: 8.828 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008879/0.46, allocations: 3.258 MB / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01722/0.4772, allocations: 11.42 MB / 1.363 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01488/0.4921, allocations: 6.772 MB / 1.369 GB, free: 3.219 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01081/0.5029, allocations: 4.97 MB / 1.374 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/0.515, allocations: 5.756 MB / 1.38 GB, free: 8.461 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.004077/0.5191, allocations: 0.9492 MB / 1.381 GB, free: 7.512 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00745/0.5266, allocations: 2.064 MB / 1.383 GB, free: 5.445 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.009754/0.5363, allocations: 3.784 MB / 1.387 GB, free: 1.652 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01259/0.5489, allocations: 4.303 MB / 1.391 GB, free: 13.33 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02294/0.5718, allocations: 14.32 MB / 1.405 GB, free: 14.97 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.5718, allocations: 0 / 1.405 GB, free: 14.97 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5718, allocations: 4 kB / 1.405 GB, free: 14.96 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0005139/0.5724, allocations: 0 / 1.405 GB, free: 14.96 MB / 1.107 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.02607/0.5984, allocations: 7.715 MB / 1.412 GB, free: 7.176 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.5985, allocations: 11.97 kB / 1.412 GB, free: 7.164 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003827/0.6023, allocations: 0.8994 MB / 1.413 GB, free: 6.254 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.6145, allocations: 1.554 MB / 1.415 GB, free: 4.695 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.6264, allocations: 4.378 MB / 1.419 GB, free: 240 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/0.627, allocations: 456.5 kB / 1.419 GB, free: 15.78 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003337/0.6303, allocations: 0.5939 MB / 1.42 GB, free: 15.19 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/0.6575, allocations: 10.69 MB / 1.43 GB, free: 4.129 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/0.6577, allocations: 39.66 kB / 1.43 GB, free: 4.09 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/0.6594, allocations: 259.9 kB / 1.431 GB, free: 3.836 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002693/0.6621, allocations: 0.7768 MB / 1.431 GB, free: 3.055 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.683, allocations: 8.557 MB / 1.44 GB, free: 10.48 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07903/0.762, allocations: 46.26 MB / 1.485 GB, free: 8.438 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007174/0.7692, allocations: 3.979 MB / 1.489 GB, free: 4.445 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00682/0.776, allocations: 3.372 MB / 1.492 GB, free: 1.066 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/0.7765, allocations: 34.78 kB / 1.492 GB, free: 1.031 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.724e-05/0.7766, allocations: 81.27 kB / 1.492 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of pre-optimization done (n=353): time 5.751e-06/0.7766, allocations: 0 / 1.492 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of matching and sorting (n=578): time 1.181/1.958, allocations: 121.1 MB / 1.611 GB, free: 290.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.958, allocations: 110.5 kB / 1.611 GB, free: 290.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004802/1.963, allocations: 2.684 MB / 1.613 GB, free: 289.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009658/1.964, allocations: 123.4 kB / 1.613 GB, free: 289.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/1.965, allocations: 2.755 MB / 1.616 GB, free: 288.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001968/1.967, allocations: 2.043 MB / 1.618 GB, free: 287.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/1.969, allocations: 0.9296 MB / 1.619 GB, free: 286.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/1.969, allocations: 307.1 kB / 1.619 GB, free: 286.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005428/1.974, allocations: 4.082 MB / 1.623 GB, free: 284.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/1.98, allocations: 5.02 MB / 1.628 GB, free: 282 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.992, allocations: 9.85 MB / 1.638 GB, free: 276.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/1.992, allocations: 6.125 kB / 1.638 GB, free: 276.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03336/2.025, allocations: 16.74 MB / 1.654 GB, free: 269.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/2.025, allocations: 16.38 kB / 1.654 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/2.025, allocations: 27.72 kB / 1.654 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02682/2.052, allocations: 9.081 MB / 1.663 GB, free: 263 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/2.054, allocations: 0.5249 MB / 1.664 GB, free: 262.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08308/2.137, allocations: 75.91 MB / 1.738 GB, free: 185.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/2.142, allocations: 280.4 kB / 1.738 GB, free: 185 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/2.143, allocations: 188 kB / 1.738 GB, free: 184.9 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.004993/2.148, allocations: 2.424 MB / 1.74 GB, free: 182.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/2.149, allocations: 493 kB / 1.741 GB, free: 181.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03318/2.182, allocations: 16.54 MB / 1.757 GB, free: 165.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/2.183, allocations: 56 kB / 1.757 GB, free: 165.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001843/2.183, allocations: 72 kB / 1.757 GB, free: 165.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.803e-05/2.183, allocations: 32.05 kB / 1.757 GB, free: 165.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04875/2.232, allocations: 25.37 MB / 1.782 GB, free: 139.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.73e-05/2.232, allocations: 12.17 kB / 1.782 GB, free: 139.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/2.233, allocations: 319.5 kB / 1.782 GB, free: 139.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02512/2.258, allocations: 8.273 MB / 1.79 GB, free: 130.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009768/2.259, allocations: 108 kB / 1.791 GB, free: 130.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08247/2.342, allocations: 72.78 MB / 1.862 GB, free: 56.76 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/2.342, allocations: 8 kB / 1.862 GB, free: 56.75 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03682/2.379, allocations: 21.31 MB / 1.882 GB, free: 35.08 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004305/2.383, allocations: 1.311 MB / 1.884 GB, free: 33.77 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00171/2.385, allocations: 114.9 kB / 1.884 GB, free: 33.66 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003766/2.388, allocations: 283.7 kB / 1.884 GB, free: 33.38 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001916/2.39, allocations: 0.5567 MB / 1.885 GB, free: 32.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005529/2.391, allocations: 144 kB / 1.885 GB, free: 32.68 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002398/2.393, allocations: 1.776 MB / 1.887 GB, free: 30.91 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.9e-07/2.393, allocations: 4 kB / 1.887 GB, free: 30.91 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007963/2.401, allocations: 2.461 MB / 1.889 GB, free: 28.45 MB / 1.295 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.03876/2.44, allocations: 22.02 MB / 1.91 GB, free: 6.062 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0265/2.467, allocations: 13.72 MB / 1.924 GB, free: 8.148 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/2.467, allocations: 5 kB / 1.924 GB, free: 8.145 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01984/2.486, allocations: 9.036 MB / 1.933 GB, free: 14.97 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006535/2.493, allocations: 1.389 MB / 1.934 GB, free: 13.64 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1511/2.644, allocations: 69.99 MB / 2.002 GB, free: 6.008 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007883/2.652, allocations: 4.893 MB / 2.007 GB, free: 1.07 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.002626/2.655, allocations: 0.7487 MB / 2.008 GB, free: 324 kB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003882/2.658, allocations: 2.62 MB / 2.01 GB, free: 13.74 MB / 1.404 GB Notification: Performance of SimCode: time 1.232e-06/2.658, allocations: 0 / 2.01 GB, free: 13.74 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/3.684, allocations: 204 MB / 2.21 GB, free: 0.516 GB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.89/27.57, allocations: 6.5 kB / 2.21 GB, free: 0.516 GB / 1.576 GB " [Timeout remaining time 272] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.4015340229962]