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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006128/0.006129, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.601/2.601, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003819, allocations: 13.12 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3539, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04432/0.3983, allocations: 39.88 MB / 1.098 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.4248, allocations: 14.93 MB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006184/0.431, allocations: 159.1 kB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/0.4355, allocations: 0.8528 MB / 1.113 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.4459, allocations: 2.644 MB / 1.116 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.008659/0.4546, allocations: 2.708 MB / 1.119 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01858/0.4732, allocations: 15.99 MB / 1.134 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02892/0.5022, allocations: 15.79 MB / 1.15 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007706/0.5099, allocations: 3.536 MB / 1.153 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008783/0.5187, allocations: 4.757 MB / 1.158 GB, free: 15.24 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002301/0.521, allocations: 396 kB / 1.158 GB, free: 14.85 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006443/0.5275, allocations: 1.829 MB / 1.16 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.007975/0.5355, allocations: 3 MB / 1.163 GB, free: 10.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01073/0.5463, allocations: 3.516 MB / 1.166 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.5645, allocations: 13.6 MB / 1.179 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5645, allocations: 0 / 1.179 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.564e-06/0.5645, allocations: 3.938 kB / 1.179 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004371/0.565, allocations: 0 / 1.179 GB, free: 8.832 MB / 0.9356 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.01706/0.5821, allocations: 6.162 MB / 1.185 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5821, allocations: 15.91 kB / 1.185 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004491/0.5866, allocations: 0.8956 MB / 1.186 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.5981, allocations: 1.518 MB / 1.188 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009455/0.6076, allocations: 4.209 MB / 1.192 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005237/0.6082, allocations: 460.5 kB / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002588/0.6108, allocations: 0.5939 MB / 1.193 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.6358, allocations: 10.68 MB / 1.203 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002656/0.6361, allocations: 35.67 kB / 1.203 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001631/0.6378, allocations: 259.9 kB / 1.204 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002898/0.6407, allocations: 0.7768 MB / 1.204 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.6581, allocations: 8.561 MB / 1.213 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5404/1.198, allocations: 46.99 MB / 1.259 GB, free: 147 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004831/1.203, allocations: 4.302 MB / 1.263 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004453/1.208, allocations: 3.687 MB / 1.267 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/1.208, allocations: 35.94 kB / 1.267 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/1.208, allocations: 72.52 kB / 1.267 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 4.859e-06/1.208, allocations: 0 / 1.267 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4726/1.681, allocations: 128.1 MB / 1.392 GB, free: 57.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/1.681, allocations: 107.9 kB / 1.392 GB, free: 57.19 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/1.685, allocations: 2.681 MB / 1.394 GB, free: 54.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009697/1.686, allocations: 117.7 kB / 1.395 GB, free: 54.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/1.687, allocations: 2.681 MB / 1.397 GB, free: 51.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001929/1.689, allocations: 1.946 MB / 1.399 GB, free: 49.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006267/1.69, allocations: 442 kB / 1.4 GB, free: 49.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.98e-05/1.69, allocations: 305.1 kB / 1.4 GB, free: 49.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004892/1.694, allocations: 4.083 MB / 1.404 GB, free: 44.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005638/1.7, allocations: 5.019 MB / 1.409 GB, free: 39.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/1.712, allocations: 9.84 MB / 1.418 GB, free: 29.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/1.712, allocations: 11.38 kB / 1.418 GB, free: 29.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03377/1.746, allocations: 17 MB / 1.435 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/1.746, allocations: 17.56 kB / 1.435 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/1.746, allocations: 20 kB / 1.435 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02989/1.776, allocations: 9.088 MB / 1.444 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/1.778, allocations: 0.5226 MB / 1.444 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1072/1.885, allocations: 70.7 MB / 1.513 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005242/1.89, allocations: 275.8 kB / 1.514 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.892, allocations: 191.9 kB / 1.514 GB, free: 9.906 MB / 1.076 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.005907/1.897, allocations: 2.431 MB / 1.516 GB, free: 7.465 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/1.899, allocations: 474.4 kB / 1.517 GB, free: 7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04237/1.942, allocations: 16.82 MB / 1.533 GB, free: 6.035 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.393e-05/1.942, allocations: 52 kB / 1.533 GB, free: 5.984 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002412/1.942, allocations: 72 kB / 1.533 GB, free: 5.914 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001279/1.942, allocations: 31.89 kB / 1.533 GB, free: 5.883 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0594/2.002, allocations: 25.69 MB / 1.558 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.561e-05/2.002, allocations: 8 kB / 1.558 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/2.004, allocations: 323.6 kB / 1.559 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03027/2.034, allocations: 8.267 MB / 1.567 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009866/2.035, allocations: 111.9 kB / 1.567 GB, free: 3.223 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09799/2.133, allocations: 67.59 MB / 1.633 GB, free: 14.17 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/2.133, allocations: 12 kB / 1.633 GB, free: 14.16 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04656/2.18, allocations: 21.56 MB / 1.654 GB, free: 8.246 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003441/2.183, allocations: 1.366 MB / 1.655 GB, free: 6.855 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/2.185, allocations: 111.9 kB / 1.655 GB, free: 6.746 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/2.189, allocations: 287.6 kB / 1.656 GB, free: 6.465 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002229/2.191, allocations: 0.5221 MB / 1.656 GB, free: 5.938 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006836/2.192, allocations: 148 kB / 1.656 GB, free: 5.793 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003171/2.195, allocations: 1.776 MB / 1.658 GB, free: 4.027 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.4e-07/2.195, allocations: 0 / 1.658 GB, free: 4.027 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008441/2.203, allocations: 2.465 MB / 1.66 GB, free: 1.562 MB / 1.217 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.04432/2.248, allocations: 22.27 MB / 1.682 GB, free: 10.93 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02733/2.275, allocations: 14.52 MB / 1.696 GB, free: 12.2 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/2.275, allocations: 4 kB / 1.696 GB, free: 12.2 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01939/2.295, allocations: 9.387 MB / 1.705 GB, free: 2.668 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01051/2.305, allocations: 1.288 MB / 1.707 GB, free: 1.398 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6341/2.939, allocations: 82.82 MB / 1.788 GB, free: 392.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004687/2.944, allocations: 4.902 MB / 1.792 GB, free: 390.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002493/2.946, allocations: 0.7441 MB / 1.793 GB, free: 390.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/2.949, allocations: 2.614 MB / 1.796 GB, free: 388.5 MB / 1.279 GB Notification: Performance of SimCode: time 7.92e-07/2.949, allocations: 0 / 1.796 GB, free: 388.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2064/3.155, allocations: 187.3 MB / 1.979 GB, free: 221.1 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/3.155, allocations: 258.6 kB / 1.979 GB, free: 220.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.579/8.734, allocations: 7.938 kB / 1.979 GB, free: 220.8 MB / 1.279 GB (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 --timeout=50 --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) 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) Reference file matches