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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004876/0.004876, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001355/0.001355, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.441/2.441, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 67.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6052, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04415/0.6494, allocations: 41.17 MB / 1.26 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02215/0.6716, allocations: 15.09 MB / 1.275 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.6736, allocations: 191.1 kB / 1.275 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009235/0.6829, allocations: 4.46 MB / 1.28 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.6879, allocations: 2.786 MB / 1.282 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005928/0.6939, allocations: 3.154 MB / 1.285 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.7054, allocations: 11.39 MB / 1.297 GB, free: 3.566 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/0.7192, allocations: 12.49 MB / 1.309 GB, free: 6.941 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005951/0.7252, allocations: 4.814 MB / 1.313 GB, free: 2.113 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006309/0.7315, allocations: 5.393 MB / 1.319 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001216/0.7327, allocations: 0.9492 MB / 1.32 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.7361, allocations: 2.048 MB / 1.322 GB, free: 9.703 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003364/0.7395, allocations: 3.688 MB / 1.325 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00422/0.7437, allocations: 4.295 MB / 1.329 GB, free: 1.695 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.7568, allocations: 14.31 MB / 1.343 GB, free: 3.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.7568, allocations: 4 kB / 1.343 GB, free: 3.336 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7568, allocations: 3.938 kB / 1.343 GB, free: 3.332 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001688/0.757, allocations: 0 / 1.343 GB, free: 3.332 MB / 1.061 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.0139/0.7709, allocations: 7.791 MB / 1.351 GB, free: 11.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.771, allocations: 8.031 kB / 1.351 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001146/0.7721, allocations: 0.8877 MB / 1.352 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00844/0.7806, allocations: 1.557 MB / 1.353 GB, free: 8.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/0.7873, allocations: 4.47 MB / 1.358 GB, free: 4.438 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.7876, allocations: 460.5 kB / 1.358 GB, free: 3.984 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000927/0.7886, allocations: 0.5901 MB / 1.359 GB, free: 3.395 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.8073, allocations: 10.69 MB / 1.369 GB, free: 8.328 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/0.8075, allocations: 35.72 kB / 1.369 GB, free: 8.293 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/0.8087, allocations: 263.9 kB / 1.37 GB, free: 8.035 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00426/0.813, allocations: 0.7807 MB / 1.37 GB, free: 7.25 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02442/0.8374, allocations: 8.557 MB / 1.379 GB, free: 14.67 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06671/0.9042, allocations: 46.6 MB / 1.424 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006354/0.9106, allocations: 4.311 MB / 1.428 GB, free: 7.992 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005668/0.9162, allocations: 3.708 MB / 1.432 GB, free: 4.273 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.9166, allocations: 38.78 kB / 1.432 GB, free: 4.234 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.783e-05/0.9166, allocations: 81.33 kB / 1.432 GB, free: 4.145 MB / 1.154 GB Notification: Performance of pre-optimization done (n=353): time 4.869e-06/0.9167, allocations: 4 kB / 1.432 GB, free: 4.141 MB / 1.154 GB Notification: Performance of matching and sorting (n=578): time 0.4762/1.393, allocations: 122.9 MB / 1.552 GB, free: 8.402 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/1.393, allocations: 115.9 kB / 1.552 GB, free: 8.273 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/1.396, allocations: 2.669 MB / 1.555 GB, free: 5.605 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003552/1.397, allocations: 125.7 kB / 1.555 GB, free: 5.477 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/1.398, allocations: 2.757 MB / 1.558 GB, free: 2.699 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/1.4, allocations: 2.049 MB / 1.56 GB, free: 0.6328 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4149/1.815, allocations: 0.9271 MB / 1.561 GB, free: 314.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.399e-05/1.815, allocations: 302.2 kB / 1.561 GB, free: 314 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006152/1.821, allocations: 4.081 MB / 1.565 GB, free: 313.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005731/1.827, allocations: 5.014 MB / 1.57 GB, free: 310.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01092/1.838, allocations: 9.85 MB / 1.579 GB, free: 305.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/1.838, allocations: 7.906 kB / 1.579 GB, free: 305.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02865/1.867, allocations: 17.02 MB / 1.596 GB, free: 298.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.867, allocations: 15.44 kB / 1.596 GB, free: 298.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/1.867, allocations: 25.84 kB / 1.596 GB, free: 298.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02381/1.89, allocations: 9.083 MB / 1.605 GB, free: 296.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/1.892, allocations: 0.5244 MB / 1.605 GB, free: 296.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07019/1.962, allocations: 77.03 MB / 1.681 GB, free: 219.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/1.966, allocations: 275.8 kB / 1.681 GB, free: 219.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/1.966, allocations: 188 kB / 1.681 GB, free: 219.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.002535/1.969, allocations: 2.425 MB / 1.683 GB, free: 217 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005355/1.969, allocations: 496.9 kB / 1.684 GB, free: 216.6 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02743/1.997, allocations: 16.82 MB / 1.7 GB, free: 199.6 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.997, allocations: 56 kB / 1.7 GB, free: 199.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-05/1.997, allocations: 68 kB / 1.7 GB, free: 199.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.997, allocations: 38.27 kB / 1.701 GB, free: 199.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03425/2.031, allocations: 25.65 MB / 1.726 GB, free: 173.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/2.031, allocations: 4.125 kB / 1.726 GB, free: 173.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/2.033, allocations: 329.1 kB / 1.726 GB, free: 173.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02141/2.054, allocations: 8.277 MB / 1.734 GB, free: 164.9 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002969/2.054, allocations: 100 kB / 1.734 GB, free: 164.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06728/2.122, allocations: 73.91 MB / 1.806 GB, free: 89.38 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/2.122, allocations: 12.56 kB / 1.806 GB, free: 89.37 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02914/2.151, allocations: 21.59 MB / 1.827 GB, free: 67.41 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/2.153, allocations: 1.379 MB / 1.829 GB, free: 66.01 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/2.153, allocations: 108 kB / 1.829 GB, free: 65.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/2.156, allocations: 291.6 kB / 1.829 GB, free: 65.62 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/2.157, allocations: 0.5221 MB / 1.83 GB, free: 65.09 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003044/2.157, allocations: 140 kB / 1.83 GB, free: 64.95 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001545/2.159, allocations: 1.776 MB / 1.831 GB, free: 63.19 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.4e-07/2.159, allocations: 0 / 1.831 GB, free: 63.19 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004145/2.163, allocations: 2.461 MB / 1.834 GB, free: 60.73 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.02896/2.192, allocations: 22.31 MB / 1.856 GB, free: 38.05 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01709/2.209, allocations: 14.57 MB / 1.87 GB, free: 23.28 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.209, allocations: 0 / 1.87 GB, free: 23.28 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01154/2.221, allocations: 9.414 MB / 1.879 GB, free: 13.73 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/2.225, allocations: 1.369 MB / 1.88 GB, free: 12.41 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/2.334, allocations: 70.39 MB / 1.949 GB, free: 4.367 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005201/2.339, allocations: 4.893 MB / 1.954 GB, free: 15.43 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002002/2.341, allocations: 0.741 MB / 1.955 GB, free: 14.68 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002718/2.344, allocations: 2.616 MB / 1.957 GB, free: 12.07 MB / 1.357 GB Notification: Performance of SimCode: time 4.41e-07/2.344, allocations: 0 / 1.957 GB, free: 12.07 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.046/10.39, allocations: 196.5 MB / 2.149 GB, free: 0.4998 GB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.05/52.44, allocations: 6.469 kB / 2.149 GB, free: 0.4998 GB / 1.514 GB (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 --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) 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) Reference file matches