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.008649/0.00865, allocations: 101 kB / 15.73 MB, free: 6.047 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.002022/0.002022, allocations: 188 kB / 16.67 MB, free: 5.977 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.533/2.533, allocations: 437.1 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2918, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04002/0.3319, allocations: 41.18 MB / 1.206 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02397/0.3559, allocations: 15.09 MB / 1.221 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.3608, allocations: 187.1 kB / 1.221 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01152/0.3724, allocations: 4.46 MB / 1.226 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.3804, allocations: 2.794 MB / 1.228 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007631/0.3881, allocations: 3.157 MB / 1.231 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01297/0.4011, allocations: 11.41 MB / 1.243 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6301/1.031, allocations: 12.45 MB / 1.255 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009076/1.04, allocations: 4.815 MB / 1.259 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/1.051, allocations: 5.392 MB / 1.265 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00393/1.055, allocations: 0.9492 MB / 1.266 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00754/1.063, allocations: 2.041 MB / 1.268 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.007902/1.071, allocations: 3.689 MB / 1.271 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01026/1.081, allocations: 4.301 MB / 1.275 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01969/1.101, allocations: 14.28 MB / 1.289 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.101, allocations: 1 kB / 1.289 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.101, allocations: 0 / 1.289 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004129/1.101, allocations: 0 / 1.289 GB, free: 12.99 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03121/1.133, allocations: 7.61 MB / 1.297 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.133, allocations: 10.44 kB / 1.297 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003645/1.136, allocations: 0.8898 MB / 1.298 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/1.148, allocations: 1.522 MB / 1.299 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/1.16, allocations: 4.439 MB / 1.304 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005285/1.161, allocations: 458.4 kB / 1.304 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/1.164, allocations: 0.5953 MB / 1.305 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03294/1.197, allocations: 10.68 MB / 1.315 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004592/1.198, allocations: 32.67 kB / 1.315 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003737/1.202, allocations: 263.2 kB / 1.315 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003435/1.205, allocations: 0.7708 MB / 1.316 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/1.227, allocations: 8.559 MB / 1.324 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0736/1.3, allocations: 46.54 MB / 1.37 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00669/1.307, allocations: 4.316 MB / 1.374 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006118/1.313, allocations: 3.714 MB / 1.378 GB, free: 124 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004068/1.314, allocations: 42.77 kB / 1.378 GB, free: 80 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.982e-05/1.314, allocations: 69.34 kB / 1.378 GB, free: 0 / 1.045 GB Notification: Performance of pre-optimization done (n=353): time 5.59e-06/1.314, allocations: 0 / 1.378 GB, free: 0 / 1.045 GB Notification: Performance of matching and sorting (n=578): time 0.5465/1.86, allocations: 122.8 MB / 1.498 GB, free: 4.816 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/1.861, allocations: 107.9 kB / 1.498 GB, free: 4.695 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004755/1.865, allocations: 2.685 MB / 1.5 GB, free: 2.012 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.001525/1.867, allocations: 129.3 kB / 1.501 GB, free: 1.883 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/1.869, allocations: 2.67 MB / 1.503 GB, free: 15.19 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002874/1.872, allocations: 1.955 MB / 1.505 GB, free: 13.25 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00472/1.876, allocations: 0.9282 MB / 1.506 GB, free: 12.32 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.877, allocations: 309.1 kB / 1.506 GB, free: 12.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00718/1.884, allocations: 4.079 MB / 1.51 GB, free: 7.93 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008192/1.892, allocations: 5.011 MB / 1.515 GB, free: 2.602 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/1.908, allocations: 9.849 MB / 1.525 GB, free: 8.465 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/1.908, allocations: 4 kB / 1.525 GB, free: 8.461 MB / 1.201 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0428/1.95, allocations: 17 MB / 1.541 GB, free: 7.723 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/1.951, allocations: 16 kB / 1.541 GB, free: 7.707 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-05/1.951, allocations: 27.97 kB / 1.541 GB, free: 7.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03486/1.985, allocations: 9.08 MB / 1.55 GB, free: 14.56 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/1.988, allocations: 0.5262 MB / 1.551 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1143/2.103, allocations: 76.96 MB / 1.626 GB, free: 15.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006112/2.109, allocations: 279.8 kB / 1.626 GB, free: 15.43 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/2.11, allocations: 188 kB / 1.626 GB, free: 15.25 MB / 1.311 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.005727/2.116, allocations: 2.424 MB / 1.629 GB, free: 12.84 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/2.117, allocations: 470.5 kB / 1.629 GB, free: 12.38 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04207/2.159, allocations: 16.83 MB / 1.646 GB, free: 11.67 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/2.159, allocations: 56 kB / 1.646 GB, free: 11.61 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001944/2.16, allocations: 68 kB / 1.646 GB, free: 11.55 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001017/2.16, allocations: 31.83 kB / 1.646 GB, free: 11.52 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06212/2.222, allocations: 25.65 MB / 1.671 GB, free: 1.926 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.467e-05/2.222, allocations: 4 kB / 1.671 GB, free: 1.922 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/2.224, allocations: 328.2 kB / 1.671 GB, free: 1.617 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03102/2.255, allocations: 8.266 MB / 1.679 GB, free: 9.324 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001189/2.256, allocations: 113.2 kB / 1.679 GB, free: 9.215 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1064/2.363, allocations: 73.82 MB / 1.751 GB, free: 13.96 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/2.363, allocations: 11.47 kB / 1.751 GB, free: 13.95 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04841/2.411, allocations: 21.56 MB / 1.772 GB, free: 8.289 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004583/2.416, allocations: 1.362 MB / 1.774 GB, free: 6.902 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002385/2.418, allocations: 103.9 kB / 1.774 GB, free: 6.801 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005452/2.424, allocations: 291.6 kB / 1.774 GB, free: 6.516 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002928/2.427, allocations: 0.5276 MB / 1.775 GB, free: 5.992 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009458/2.428, allocations: 140 kB / 1.775 GB, free: 5.855 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.003462/2.431, allocations: 1.78 MB / 1.777 GB, free: 4.086 MB / 1.451 GB Notification: Performance of sort global known variables: time 2.51e-07/2.431, allocations: 4 kB / 1.777 GB, free: 4.082 MB / 1.451 GB Notification: Performance of remove unused functions: time 0.009723/2.441, allocations: 2.464 MB / 1.779 GB, free: 1.621 MB / 1.451 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.6128/3.054, allocations: 22.27 MB / 1.801 GB, free: 0.4974 GB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.02827/3.082, allocations: 14.54 MB / 1.815 GB, free: 0.4956 GB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/3.082, allocations: 2.281 kB / 1.815 GB, free: 0.4956 GB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.01709/3.099, allocations: 9.343 MB / 1.824 GB, free: 0.4939 GB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006383/3.106, allocations: 1.377 MB / 1.825 GB, free: 0.4937 GB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1299/3.235, allocations: 70.18 MB / 1.894 GB, free: 475.2 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006481/3.242, allocations: 4.898 MB / 1.899 GB, free: 471.1 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002705/3.245, allocations: 0.7449 MB / 1.899 GB, free: 470.3 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00256/3.247, allocations: 2.608 MB / 1.902 GB, free: 467.7 MB / 1.467 GB Notification: Performance of SimCode: time 9.72e-07/3.247, allocations: 0 / 1.902 GB, free: 467.7 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2454/3.493, allocations: 196.5 MB / 2.094 GB, free: 272.8 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.94/24.43, allocations: 15.66 kB / 2.094 GB, free: 272.8 MB / 1.467 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_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_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.csv","/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