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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007971/0.007971, allocations: 95.05 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.002051/0.002051, allocations: 205.5 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.631/2.631, allocations: 472.7 MB / 0.7453 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 64.05 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3053, allocations: 159.9 MB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.6679/0.9733, allocations: 41.18 MB / 1.265 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02235/0.9957, allocations: 15.08 MB / 1.28 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005246/1.001, allocations: 195.8 kB / 1.28 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01101/1.012, allocations: 4.459 MB / 1.285 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009742/1.022, allocations: 2.928 MB / 1.288 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.009775/1.032, allocations: 3.167 MB / 1.291 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0164/1.048, allocations: 11.42 MB / 1.302 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02035/1.068, allocations: 12.47 MB / 1.314 GB, free: 2.594 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01151/1.08, allocations: 4.906 MB / 1.319 GB, free: 420 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/1.091, allocations: 5.395 MB / 1.324 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003649/1.095, allocations: 0.9493 MB / 1.325 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007133/1.102, allocations: 2.042 MB / 1.327 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.007056/1.109, allocations: 3.689 MB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0112/1.12, allocations: 4.292 MB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02329/1.144, allocations: 14.32 MB / 1.349 GB, free: 15.47 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/1.144, allocations: 8 kB / 1.349 GB, free: 15.46 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.914e-06/1.144, allocations: 1.562 kB / 1.349 GB, free: 15.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0005003/1.144, allocations: 0 / 1.349 GB, free: 15.46 MB / 1.045 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.02519/1.169, allocations: 7.784 MB / 1.356 GB, free: 10.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.169, allocations: 10.81 kB / 1.356 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002774/1.172, allocations: 0.8973 MB / 1.357 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/1.183, allocations: 1.556 MB / 1.359 GB, free: 8.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/1.194, allocations: 4.458 MB / 1.363 GB, free: 4.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/1.194, allocations: 460.5 kB / 1.364 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/1.196, allocations: 0.6017 MB / 1.364 GB, free: 3.324 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/1.217, allocations: 10.68 MB / 1.375 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001927/1.217, allocations: 35.77 kB / 1.375 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/1.219, allocations: 263.9 kB / 1.375 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/1.221, allocations: 0.7768 MB / 1.376 GB, free: 7.191 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/1.238, allocations: 8.561 MB / 1.384 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06692/1.305, allocations: 46.61 MB / 1.429 GB, free: 12.25 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006246/1.311, allocations: 4.309 MB / 1.434 GB, free: 7.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005594/1.317, allocations: 3.72 MB / 1.437 GB, free: 4.203 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/1.317, allocations: 34.78 kB / 1.437 GB, free: 4.168 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/1.317, allocations: 73.34 kB / 1.437 GB, free: 4.086 MB / 1.123 GB Notification: Performance of pre-optimization done (n=353): time 4.919e-06/1.317, allocations: 0 / 1.437 GB, free: 4.086 MB / 1.123 GB Notification: Performance of matching and sorting (n=578): time 0.5158/1.833, allocations: 122.9 MB / 1.557 GB, free: 8.34 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.833, allocations: 115.9 kB / 1.558 GB, free: 8.211 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/1.838, allocations: 2.685 MB / 1.56 GB, free: 5.527 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.001225/1.839, allocations: 117.7 kB / 1.56 GB, free: 5.406 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.841, allocations: 2.753 MB / 1.563 GB, free: 2.629 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002652/1.843, allocations: 2.053 MB / 1.565 GB, free: 0.5586 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002379/1.846, allocations: 0.925 MB / 1.566 GB, free: 15.62 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/1.846, allocations: 301.1 kB / 1.566 GB, free: 15.33 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006421/1.852, allocations: 4.083 MB / 1.57 GB, free: 11.24 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007607/1.86, allocations: 5.011 MB / 1.575 GB, free: 5.898 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01496/1.875, allocations: 9.852 MB / 1.585 GB, free: 11.67 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.949e-05/1.875, allocations: 8 kB / 1.585 GB, free: 11.66 MB / 1.279 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04062/1.916, allocations: 17.03 MB / 1.601 GB, free: 10.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/1.916, allocations: 12 kB / 1.601 GB, free: 10.49 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/1.916, allocations: 31.98 kB / 1.601 GB, free: 10.46 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03239/1.948, allocations: 9.08 MB / 1.61 GB, free: 1.336 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.951, allocations: 0.5265 MB / 1.611 GB, free: 0.8086 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.115/2.066, allocations: 77.03 MB / 1.686 GB, free: 2.199 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005746/2.072, allocations: 283.8 kB / 1.686 GB, free: 1.922 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/2.073, allocations: 188 kB / 1.686 GB, free: 1.738 MB / 1.373 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.00646/2.08, allocations: 2.423 MB / 1.689 GB, free: 15.3 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00211/2.082, allocations: 497 kB / 1.689 GB, free: 14.82 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04193/2.124, allocations: 16.81 MB / 1.706 GB, free: 13.86 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.092e-05/2.124, allocations: 56 kB / 1.706 GB, free: 13.8 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002059/2.124, allocations: 72 kB / 1.706 GB, free: 13.73 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/2.124, allocations: 27.89 kB / 1.706 GB, free: 13.71 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05277/2.177, allocations: 25.66 MB / 1.731 GB, free: 3.723 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/2.177, allocations: 8.938 kB / 1.731 GB, free: 3.715 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/2.179, allocations: 315.6 kB / 1.731 GB, free: 3.406 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02777/2.206, allocations: 8.273 MB / 1.739 GB, free: 11.09 MB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009969/2.208, allocations: 108 kB / 1.739 GB, free: 10.99 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6861/2.894, allocations: 73.91 MB / 1.812 GB, free: 482.5 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/2.894, allocations: 10.12 kB / 1.812 GB, free: 482.5 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04353/2.937, allocations: 21.59 MB / 1.833 GB, free: 481.2 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003666/2.941, allocations: 1.378 MB / 1.834 GB, free: 481.1 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/2.942, allocations: 107.5 kB / 1.834 GB, free: 481.1 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003859/2.946, allocations: 288.5 kB / 1.834 GB, free: 481.1 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002018/2.948, allocations: 0.5182 MB / 1.835 GB, free: 481.1 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004876/2.949, allocations: 149.1 kB / 1.835 GB, free: 481.1 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.002836/2.952, allocations: 1.775 MB / 1.837 GB, free: 481 MB / 1.498 GB Notification: Performance of sort global known variables: time 2.1e-07/2.952, allocations: 0 / 1.837 GB, free: 481 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.008944/2.961, allocations: 2.465 MB / 1.839 GB, free: 481 MB / 1.498 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.04394/3.005, allocations: 22.3 MB / 1.861 GB, free: 473.2 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.02672/3.031, allocations: 14.57 MB / 1.875 GB, free: 466.4 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/3.031, allocations: 10.03 kB / 1.875 GB, free: 466.4 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.01779/3.049, allocations: 9.407 MB / 1.884 GB, free: 461.8 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006492/3.056, allocations: 1.375 MB / 1.886 GB, free: 461.4 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1146/3.17, allocations: 70.4 MB / 1.954 GB, free: 414.5 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006346/3.177, allocations: 4.889 MB / 1.959 GB, free: 409.7 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.002629/3.179, allocations: 0.741 MB / 1.96 GB, free: 408.9 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002638/3.182, allocations: 2.616 MB / 1.962 GB, free: 406.3 MB / 1.498 GB Notification: Performance of SimCode: time 1.563e-06/3.182, allocations: 4 kB / 1.962 GB, free: 406.3 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2627/3.445, allocations: 196.5 MB / 2.154 GB, free: 211.4 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.18/23.62, allocations: 23.73 kB / 2.154 GB, free: 211.4 MB / 1.498 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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