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.001218/0.001218, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001354/0.001354, allocations: 219 kB / 23.03 MB, free: 4.922 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.072/3.072, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",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="cs",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.001961/0.001961, allocations: 64.69 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04675/0.3977, allocations: 39.07 MB / 1.365 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02618/0.4239, allocations: 15.29 MB / 1.38 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00466/0.4286, allocations: 250.1 kB / 1.38 GB, free: 10.72 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.4409, allocations: 4.478 MB / 1.384 GB, free: 6.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008217/0.4491, allocations: 2.935 MB / 1.387 GB, free: 3.281 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008222/0.4573, allocations: 3.195 MB / 1.39 GB, free: 88 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01549/0.4728, allocations: 11.41 MB / 1.401 GB, free: 4.637 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01504/0.4879, allocations: 6.772 MB / 1.408 GB, free: 13.74 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/0.498, allocations: 4.997 MB / 1.413 GB, free: 8.727 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/0.5085, allocations: 5.756 MB / 1.419 GB, free: 2.953 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003207/0.5117, allocations: 0.9453 MB / 1.419 GB, free: 2.008 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006013/0.5177, allocations: 1.919 MB / 1.421 GB, free: 88 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.006992/0.5247, allocations: 3.788 MB / 1.425 GB, free: 12.29 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.009732/0.5344, allocations: 3.51 MB / 1.428 GB, free: 8.766 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02057/0.555, allocations: 14.4 MB / 1.443 GB, free: 10.32 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.555, allocations: 0 / 1.443 GB, free: 10.32 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.074e-06/0.555, allocations: 0 / 1.443 GB, free: 10.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004557/0.5555, allocations: 0 / 1.443 GB, free: 10.32 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.02367/0.5791, allocations: 7.715 MB / 1.45 GB, free: 2.535 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.5792, allocations: 8.031 kB / 1.45 GB, free: 2.527 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002325/0.5794, allocations: 160.3 kB / 1.45 GB, free: 2.367 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003336/0.5828, allocations: 0.8994 MB / 1.451 GB, free: 1.457 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.5942, allocations: 1.56 MB / 1.453 GB, free: 15.89 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.6046, allocations: 4.382 MB / 1.457 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004558/0.6051, allocations: 456.4 kB / 1.457 GB, free: 10.97 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.6073, allocations: 0.5988 MB / 1.458 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/0.6324, allocations: 11.58 MB / 1.469 GB, free: 14.19 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002659/0.6326, allocations: 31.75 kB / 1.469 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002058/0.6347, allocations: 271.9 kB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002853/0.6375, allocations: 0.7729 MB / 1.47 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.6573, allocations: 8.557 MB / 1.479 GB, free: 4.539 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05926/0.7166, allocations: 31.45 MB / 1.509 GB, free: 4.422 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006147/0.7227, allocations: 3.968 MB / 1.513 GB, free: 452 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005979/0.7287, allocations: 3.373 MB / 1.517 GB, free: 13.06 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.729, allocations: 38.78 kB / 1.517 GB, free: 13.02 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.466e-05/0.7291, allocations: 77.34 kB / 1.517 GB, free: 12.93 MB / 1.217 GB Notification: Performance of pre-optimization done (n=353): time 5.991e-06/0.7291, allocations: 0 / 1.517 GB, free: 12.93 MB / 1.217 GB Notification: Performance of matching and sorting (n=578): time 1.068/1.797, allocations: 121.1 MB / 1.635 GB, free: 246.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/1.798, allocations: 111.1 kB / 1.635 GB, free: 246.5 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/1.801, allocations: 2.686 MB / 1.638 GB, free: 245.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.802, allocations: 119.7 kB / 1.638 GB, free: 245.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001632/1.804, allocations: 2.747 MB / 1.64 GB, free: 243.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002304/1.806, allocations: 2.055 MB / 1.642 GB, free: 242.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/1.808, allocations: 0.9297 MB / 1.643 GB, free: 241.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/1.808, allocations: 305.1 kB / 1.644 GB, free: 241.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/1.813, allocations: 4.079 MB / 1.648 GB, free: 239.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/1.818, allocations: 5.018 MB / 1.653 GB, free: 237.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.828, allocations: 9.855 MB / 1.662 GB, free: 231.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/1.828, allocations: 7.875 kB / 1.662 GB, free: 231.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03163/1.86, allocations: 16.74 MB / 1.678 GB, free: 219.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/1.86, allocations: 12 kB / 1.679 GB, free: 219.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/1.86, allocations: 27.94 kB / 1.679 GB, free: 219.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02779/1.888, allocations: 9.058 MB / 1.687 GB, free: 210.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/1.89, allocations: 0.5304 MB / 1.688 GB, free: 209.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08059/1.97, allocations: 74.66 MB / 1.761 GB, free: 133.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/1.975, allocations: 275.7 kB / 1.761 GB, free: 133.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006674/1.976, allocations: 188 kB / 1.761 GB, free: 133.3 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.003747/1.98, allocations: 2.431 MB / 1.764 GB, free: 130.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.981, allocations: 493 kB / 1.764 GB, free: 130.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03061/2.012, allocations: 16.54 MB / 1.78 GB, free: 113.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/2.012, allocations: 59.41 kB / 1.78 GB, free: 113.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001475/2.012, allocations: 73.41 kB / 1.78 GB, free: 113.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.157e-05/2.012, allocations: 27.89 kB / 1.78 GB, free: 113.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04597/2.058, allocations: 24.01 MB / 1.804 GB, free: 89.35 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.909e-05/2.058, allocations: 8 kB / 1.804 GB, free: 89.34 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/2.06, allocations: 327.5 kB / 1.804 GB, free: 89.02 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02598/2.086, allocations: 8.255 MB / 1.812 GB, free: 80.73 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001177/2.087, allocations: 112 kB / 1.812 GB, free: 80.62 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08021/2.167, allocations: 71.53 MB / 1.882 GB, free: 7.844 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/2.167, allocations: 11.94 kB / 1.882 GB, free: 7.832 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04276/2.21, allocations: 21.31 MB / 1.903 GB, free: 2.16 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004539/2.214, allocations: 1.309 MB / 1.904 GB, free: 0.8477 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/2.216, allocations: 119.8 kB / 1.904 GB, free: 0.7305 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004219/2.22, allocations: 283.6 kB / 1.905 GB, free: 464 kB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002555/2.223, allocations: 0.5568 MB / 1.905 GB, free: 15.89 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009373/2.224, allocations: 144 kB / 1.905 GB, free: 15.75 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.003987/2.228, allocations: 1.776 MB / 1.907 GB, free: 13.98 MB / 1.326 GB Notification: Performance of sort global known variables: time 9e-08/2.228, allocations: 0 / 1.907 GB, free: 13.98 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.01119/2.239, allocations: 2.461 MB / 1.909 GB, free: 11.52 MB / 1.326 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.04829/2.287, allocations: 22.02 MB / 1.931 GB, free: 5.129 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.03075/2.318, allocations: 13.72 MB / 1.944 GB, free: 7.207 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/2.318, allocations: 5 kB / 1.944 GB, free: 7.203 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.02016/2.338, allocations: 9.025 MB / 1.953 GB, free: 14.03 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008738/2.347, allocations: 1.385 MB / 1.955 GB, free: 12.7 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1528/2.5, allocations: 69.98 MB / 2.023 GB, free: 5.047 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007188/2.507, allocations: 4.391 MB / 2.027 GB, free: 0.5938 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.002656/2.51, allocations: 0.741 MB / 2.028 GB, free: 15.85 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003478/2.513, allocations: 2.612 MB / 2.03 GB, free: 13.23 MB / 1.451 GB Notification: Performance of SimCode: time 1.743e-06/2.513, allocations: 0 / 2.03 GB, free: 13.23 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.014/3.528, allocations: 210.6 MB / 2.236 GB, free: 0.5329 GB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.01/26.54, allocations: 4.562 kB / 2.236 GB, free: 0.5329 GB / 1.623 GB " [Timeout remaining time 273] (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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 34.86528227501549]