Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.006933/0.006933, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.001772/0.001772, allocations: 197.4 kB / 16.68 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.671/2.671, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2814, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04068/0.3221, allocations: 35.12 MB / 1.2 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.3388, allocations: 9.948 MB / 1.21 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.3415, allocations: 155.2 kB / 1.21 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009576/0.3511, allocations: 3.795 MB / 1.214 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.3569, allocations: 2.04 MB / 1.216 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.3619, allocations: 1.96 MB / 1.218 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0101/0.372, allocations: 7.982 MB / 1.226 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01304/0.3851, allocations: 9.526 MB / 1.235 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005869/0.391, allocations: 3.369 MB / 1.238 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006635/0.3977, allocations: 3.738 MB / 1.242 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.3995, allocations: 0.6797 MB / 1.243 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.4031, allocations: 1.44 MB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003417/0.4065, allocations: 2.62 MB / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.4117, allocations: 3.104 MB / 1.25 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5897/1.001, allocations: 10.4 MB / 1.26 GB, free: 32.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.001, allocations: 0.6875 kB / 1.26 GB, free: 32.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.001, allocations: 0 / 1.26 GB, free: 32.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003184/1.002, allocations: 0.6875 kB / 1.26 GB, free: 32.47 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0202/1.022, allocations: 5.535 MB / 1.265 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.022, allocations: 9.625 kB / 1.265 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003476/1.026, allocations: 0.6998 MB / 1.266 GB, free: 30.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008038/1.034, allocations: 0.9883 MB / 1.267 GB, free: 29.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008427/1.042, allocations: 3.202 MB / 1.27 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/1.042, allocations: 355.8 kB / 1.27 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002294/1.045, allocations: 469.3 kB / 1.271 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/1.065, allocations: 7.907 MB / 1.279 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002035/1.065, allocations: 18.47 kB / 1.279 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/1.067, allocations: 212.9 kB / 1.279 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005662/1.067, allocations: 369.6 kB / 1.279 GB, free: 28.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/1.081, allocations: 5.936 MB / 1.285 GB, free: 28.13 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03859/1.119, allocations: 36 MB / 1.32 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/1.123, allocations: 2.139 MB / 1.322 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/1.125, allocations: 1.477 MB / 1.324 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/1.125, allocations: 16.62 kB / 1.324 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/1.125, allocations: 63.14 kB / 1.324 GB, free: 13.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=157): time 3.277e-06/1.125, allocations: 0.9375 kB / 1.324 GB, free: 13.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=160): time 0.0156/1.141, allocations: 7.604 MB / 1.331 GB, free: 9.312 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.141, allocations: 68.88 kB / 1.331 GB, free: 9.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/1.144, allocations: 1.861 MB / 1.333 GB, free: 8.227 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003573/1.144, allocations: 58.23 kB / 1.333 GB, free: 8.172 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/1.146, allocations: 2.179 MB / 1.335 GB, free: 6.262 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007945/1.147, allocations: 0.5894 MB / 1.336 GB, free: 5.754 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007619/1.148, allocations: 404.8 kB / 1.336 GB, free: 5.523 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.148, allocations: 302.3 kB / 1.336 GB, free: 5.227 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.15, allocations: 1.065 MB / 1.337 GB, free: 4.668 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/1.152, allocations: 1.76 MB / 1.339 GB, free: 3.191 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/1.156, allocations: 3.045 MB / 1.342 GB, free: 1.082 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-05/1.156, allocations: 7.5 kB / 1.342 GB, free: 1.082 MB / 1.014 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007415/1.163, allocations: 3.946 MB / 1.346 GB, free: 15.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/1.163, allocations: 15.3 kB / 1.346 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/1.164, allocations: 23.12 kB / 1.346 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/1.166, allocations: 0.9345 MB / 1.347 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.168, allocations: 427.9 kB / 1.347 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/1.19, allocations: 22.78 MB / 1.37 GB, free: 9.711 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/1.192, allocations: 117 kB / 1.37 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/1.193, allocations: 97.03 kB / 1.37 GB, free: 9.633 MB / 1.045 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003359/1.196, allocations: 1.651 MB / 1.371 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006769/1.197, allocations: 266.8 kB / 1.372 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/1.202, allocations: 3.263 MB / 1.375 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.202, allocations: 15.62 kB / 1.375 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.202, allocations: 15.03 kB / 1.375 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/1.202, allocations: 7.969 kB / 1.375 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.216, allocations: 7.557 MB / 1.382 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.216, allocations: 4.531 kB / 1.382 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009796/1.217, allocations: 217.2 kB / 1.382 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/1.22, allocations: 0.8956 MB / 1.383 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/1.22, allocations: 32 kB / 1.383 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02353/1.244, allocations: 22.75 MB / 1.406 GB, free: 8.762 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.244, allocations: 8 kB / 1.406 GB, free: 8.754 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0065/1.25, allocations: 3.385 MB / 1.409 GB, free: 5.301 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.252, allocations: 0.5484 MB / 1.409 GB, free: 4.734 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007998/1.253, allocations: 32 kB / 1.409 GB, free: 4.703 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.254, allocations: 95.83 kB / 1.41 GB, free: 4.609 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004837/1.255, allocations: 145.9 kB / 1.41 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.255, allocations: 48 kB / 1.41 GB, free: 4.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00204/1.257, allocations: 1.221 MB / 1.411 GB, free: 3.195 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.71e-07/1.257, allocations: 4 kB / 1.411 GB, free: 3.191 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004286/1.261, allocations: 0.9023 MB / 1.412 GB, free: 2.289 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006934/1.268, allocations: 3.989 MB / 1.416 GB, free: 14.22 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007342/1.276, allocations: 4.441 MB / 1.42 GB, free: 9.75 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.276, allocations: 8.062 kB / 1.42 GB, free: 9.742 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004675/1.281, allocations: 3.003 MB / 1.423 GB, free: 6.625 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004395/1.285, allocations: 0.8306 MB / 1.424 GB, free: 5.82 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04801/1.333, allocations: 25.18 MB / 1.448 GB, free: 11.76 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005218/1.338, allocations: 3.203 MB / 1.452 GB, free: 8.531 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002026/1.34, allocations: 0.5315 MB / 1.452 GB, free: 8 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002823/1.343, allocations: 1.651 MB / 1.454 GB, free: 6.348 MB / 1.123 GB Notification: Performance of SimCode: time 1.302e-06/1.343, allocations: 0 / 1.454 GB, free: 6.348 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1663/1.509, allocations: 70.26 MB / 1.522 GB, free: 1.18 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.53, allocations: 8 kB / 1.522 GB, free: 1.172 MB / 1.186 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches