Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.009887/0.009887, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001912/0.001912, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 63.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8951/0.8969, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0434/0.9403, allocations: 41.2 MB / 1.206 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02671/0.9671, allocations: 15.08 MB / 1.221 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005363/0.9725, allocations: 187.1 kB / 1.221 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.9849, allocations: 4.473 MB / 1.226 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009263/0.9942, allocations: 2.927 MB / 1.229 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.009344/1.004, allocations: 3.153 MB / 1.232 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01505/1.019, allocations: 11.43 MB / 1.243 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02518/1.044, allocations: 12.46 MB / 1.255 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/1.057, allocations: 4.908 MB / 1.26 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01587/1.073, allocations: 5.386 MB / 1.265 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004577/1.078, allocations: 0.9492 MB / 1.266 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/1.088, allocations: 2.04 MB / 1.268 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.009409/1.098, allocations: 3.692 MB / 1.272 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01414/1.112, allocations: 4.295 MB / 1.276 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03156/1.144, allocations: 14.28 MB / 1.29 GB, free: 4.824 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/1.144, allocations: 7.938 kB / 1.29 GB, free: 4.816 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.196e-06/1.144, allocations: 0 / 1.29 GB, free: 4.816 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005066/1.144, allocations: 0 / 1.29 GB, free: 4.816 MB / 1.014 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.03234/1.177, allocations: 7.604 MB / 1.297 GB, free: 13.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/1.177, allocations: 8.922 kB / 1.297 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004482/1.181, allocations: 0.8916 MB / 1.298 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/1.195, allocations: 1.518 MB / 1.299 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/1.205, allocations: 4.447 MB / 1.304 GB, free: 6.168 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004697/1.205, allocations: 460.4 kB / 1.304 GB, free: 5.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003003/1.208, allocations: 0.5939 MB / 1.305 GB, free: 5.121 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02852/1.237, allocations: 10.69 MB / 1.315 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003949/1.237, allocations: 27.78 kB / 1.315 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002725/1.24, allocations: 263.9 kB / 1.316 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002917/1.243, allocations: 0.7768 MB / 1.316 GB, free: 8.988 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01767/1.261, allocations: 8.561 MB / 1.325 GB, free: 416 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06969/1.33, allocations: 46.54 MB / 1.37 GB, free: 14.1 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006332/1.337, allocations: 4.3 MB / 1.374 GB, free: 9.781 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005719/1.343, allocations: 3.728 MB / 1.378 GB, free: 6.055 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/1.343, allocations: 38.78 kB / 1.378 GB, free: 6.016 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.515e-05/1.343, allocations: 73.33 kB / 1.378 GB, free: 5.934 MB / 1.107 GB Notification: Performance of pre-optimization done (n=353): time 5.761e-06/1.343, allocations: 4 kB / 1.378 GB, free: 5.93 MB / 1.107 GB Notification: Performance of matching and sorting (n=578): time 0.4658/1.809, allocations: 122.8 MB / 1.498 GB, free: 10.3 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/1.809, allocations: 115.9 kB / 1.498 GB, free: 10.17 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00442/1.813, allocations: 2.677 MB / 1.501 GB, free: 7.492 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/1.815, allocations: 121.7 kB / 1.501 GB, free: 7.367 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002185/1.817, allocations: 2.679 MB / 1.503 GB, free: 4.656 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00309/1.82, allocations: 1.956 MB / 1.505 GB, free: 2.672 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003712/1.824, allocations: 0.9248 MB / 1.506 GB, free: 1.738 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.824, allocations: 301.1 kB / 1.507 GB, free: 1.441 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006973/1.831, allocations: 4.075 MB / 1.51 GB, free: 13.36 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007635/1.839, allocations: 5.019 MB / 1.515 GB, free: 8.008 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/1.853, allocations: 9.852 MB / 1.525 GB, free: 13.78 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/1.853, allocations: 4 kB / 1.525 GB, free: 13.77 MB / 1.264 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0416/1.895, allocations: 16.99 MB / 1.542 GB, free: 12.65 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/1.895, allocations: 20.25 kB / 1.542 GB, free: 12.63 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-05/1.895, allocations: 27.94 kB / 1.542 GB, free: 12.61 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03081/1.926, allocations: 9.084 MB / 1.551 GB, free: 3.48 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/1.928, allocations: 0.5187 MB / 1.551 GB, free: 2.961 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7575/2.686, allocations: 76.97 MB / 1.626 GB, free: 310.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/2.691, allocations: 279.8 kB / 1.626 GB, free: 310.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/2.692, allocations: 194.9 kB / 1.627 GB, free: 310.5 MB / 1.279 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.00425/2.696, allocations: 2.42 MB / 1.629 GB, free: 308 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/2.698, allocations: 470.9 kB / 1.629 GB, free: 307.6 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03549/2.733, allocations: 16.81 MB / 1.646 GB, free: 290.7 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/2.733, allocations: 60 kB / 1.646 GB, free: 290.7 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002286/2.733, allocations: 72 kB / 1.646 GB, free: 290.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-05/2.733, allocations: 27.89 kB / 1.646 GB, free: 290.6 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05055/2.784, allocations: 25.65 MB / 1.671 GB, free: 264.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.187e-05/2.784, allocations: 8 kB / 1.671 GB, free: 264.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/2.786, allocations: 315.5 kB / 1.671 GB, free: 264.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02707/2.813, allocations: 8.281 MB / 1.679 GB, free: 256 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/2.814, allocations: 104 kB / 1.68 GB, free: 255.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08481/2.899, allocations: 73.83 MB / 1.752 GB, free: 180.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/2.899, allocations: 11.94 kB / 1.752 GB, free: 180.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04102/2.94, allocations: 21.57 MB / 1.773 GB, free: 158.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003501/2.944, allocations: 1.356 MB / 1.774 GB, free: 157.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001746/2.946, allocations: 112 kB / 1.774 GB, free: 157.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004056/2.95, allocations: 291.6 kB / 1.774 GB, free: 156.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002163/2.952, allocations: 0.518 MB / 1.775 GB, free: 156.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007944/2.953, allocations: 144 kB / 1.775 GB, free: 156.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002724/2.955, allocations: 1.78 MB / 1.777 GB, free: 154.4 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.21e-07/2.955, allocations: 0 / 1.777 GB, free: 154.4 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008664/2.964, allocations: 2.465 MB / 1.779 GB, free: 152 MB / 1.279 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.04076/3.005, allocations: 22.28 MB / 1.801 GB, free: 129.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02387/3.029, allocations: 14.52 MB / 1.815 GB, free: 114.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/3.029, allocations: 4 kB / 1.815 GB, free: 114.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01603/3.045, allocations: 9.357 MB / 1.824 GB, free: 105.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008122/3.053, allocations: 1.376 MB / 1.826 GB, free: 103.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1342/3.187, allocations: 70.16 MB / 1.894 GB, free: 32.06 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008215/3.196, allocations: 4.896 MB / 1.899 GB, free: 27.12 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003042/3.199, allocations: 0.7448 MB / 1.9 GB, free: 26.37 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/3.202, allocations: 2.612 MB / 1.902 GB, free: 23.76 MB / 1.279 GB Notification: Performance of SimCode: time 1.273e-06/3.202, allocations: 0 / 1.902 GB, free: 23.76 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.306/3.508, allocations: 196.5 MB / 2.094 GB, free: 4.75 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.38/24.89, allocations: 10.55 kB / 2.094 GB, free: 4.746 MB / 1.451 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches