Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.545/2.545, allocations: 437.1 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 72.12 kB / 0.8694 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5276, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02456/0.5522, allocations: 23.42 MB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.563, allocations: 6.484 MB / 1.047 GB, free: 4.566 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.5646, allocations: 95.56 kB / 1.047 GB, free: 4.473 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.5683, allocations: 1.484 MB / 1.048 GB, free: 2.98 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.5722, allocations: 1.824 MB / 1.05 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.5753, allocations: 1.471 MB / 1.051 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006718/0.5821, allocations: 6.92 MB / 1.058 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008526/0.5906, allocations: 7.006 MB / 1.065 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00412/0.5948, allocations: 2.828 MB / 1.068 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00529/0.6001, allocations: 3.466 MB / 1.071 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.6016, allocations: 0.5273 MB / 1.072 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.6047, allocations: 1.174 MB / 1.073 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003032/0.6078, allocations: 2.472 MB / 1.075 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003918/0.6117, allocations: 2.532 MB / 1.078 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007892/0.6196, allocations: 8.464 MB / 1.086 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6196, allocations: 0 / 1.086 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6196, allocations: 0 / 1.086 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001661/0.6198, allocations: 0 / 1.086 GB, free: 12.11 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007608/0.6274, allocations: 4.431 MB / 1.09 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6275, allocations: 8.031 kB / 1.09 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007622/0.6282, allocations: 0.5753 MB / 1.091 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008374/0.6366, allocations: 1.677 MB / 1.092 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/0.6409, allocations: 2.575 MB / 1.095 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.6411, allocations: 275.7 kB / 1.095 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005848/0.6417, allocations: 360.3 kB / 1.096 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.6523, allocations: 7.487 MB / 1.103 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.523e-05/0.6524, allocations: 15.83 kB / 1.103 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004037/0.6528, allocations: 159.9 kB / 1.103 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005223/0.6533, allocations: 487.4 kB / 1.104 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008869/0.6622, allocations: 5.701 MB / 1.109 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03043/0.6926, allocations: 31.72 MB / 1.14 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.6953, allocations: 2.09 MB / 1.142 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002869/0.6982, allocations: 2.178 MB / 1.144 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.6984, allocations: 13.31 kB / 1.144 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.6984, allocations: 47.88 kB / 1.144 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.587e-06/0.6984, allocations: 0 / 1.144 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.3386/1.037, allocations: 77 MB / 1.22 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/1.037, allocations: 81.41 kB / 1.22 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/1.04, allocations: 1.67 MB / 1.221 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003841/1.04, allocations: 69.7 kB / 1.221 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/1.041, allocations: 1.743 MB / 1.223 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009544/1.042, allocations: 0.8587 MB / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/1.043, allocations: 481.2 kB / 1.224 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/1.044, allocations: 301.1 kB / 1.225 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00413/1.048, allocations: 2.734 MB / 1.227 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004574/1.052, allocations: 3.328 MB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/1.063, allocations: 6.397 MB / 1.237 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/1.063, allocations: 12 kB / 1.237 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.5582/1.622, allocations: 14.67 MB / 1.251 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/1.622, allocations: 18 kB / 1.251 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.928e-05/1.622, allocations: 19.16 kB / 1.251 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04936/1.671, allocations: 9.294 MB / 1.26 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.672, allocations: 307.9 kB / 1.26 GB, free: 208.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07006/1.743, allocations: 52.37 MB / 1.312 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/1.746, allocations: 219.7 kB / 1.312 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/1.746, allocations: 101.7 kB / 1.312 GB, free: 180 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002329/1.748, allocations: 1.587 MB / 1.313 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005958/1.749, allocations: 245 kB / 1.314 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02838/1.777, allocations: 14.76 MB / 1.328 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/1.777, allocations: 27.94 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001008/1.777, allocations: 44 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/1.777, allocations: 12.94 kB / 1.328 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03569/1.813, allocations: 20.51 MB / 1.348 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.813, allocations: 8 kB / 1.348 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/1.814, allocations: 173.4 kB / 1.348 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02663/1.841, allocations: 9.056 MB / 1.357 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/1.841, allocations: 55.92 kB / 1.357 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06669/1.908, allocations: 51.95 MB / 1.408 GB, free: 80.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.908, allocations: 11.94 kB / 1.408 GB, free: 80.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/1.936, allocations: 14.38 MB / 1.422 GB, free: 66.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.937, allocations: 0.8416 MB / 1.423 GB, free: 65.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006101/1.938, allocations: 51.98 kB / 1.423 GB, free: 65.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.94, allocations: 203.7 kB / 1.423 GB, free: 64.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/1.942, allocations: 249.4 kB / 1.423 GB, free: 64.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00023/1.942, allocations: 64 kB / 1.423 GB, free: 64.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001623/1.944, allocations: 1.125 MB / 1.425 GB, free: 63.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.944, allocations: 4 kB / 1.425 GB, free: 63.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005232/1.949, allocations: 1.609 MB / 1.426 GB, free: 61.84 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02759/1.976, allocations: 14.98 MB / 1.441 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02137/1.998, allocations: 11.33 MB / 1.452 GB, free: 35.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.998, allocations: 0 / 1.452 GB, free: 35.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01567/2.014, allocations: 7.305 MB / 1.459 GB, free: 27.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/2.016, allocations: 0.5611 MB / 1.459 GB, free: 27.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09186/2.108, allocations: 53.35 MB / 1.512 GB, free: 3.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004414/2.113, allocations: 3.235 MB / 1.515 GB, free: 0.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001176/2.114, allocations: 391.3 kB / 1.515 GB, free: 200 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/2.116, allocations: 1.462 MB / 1.517 GB, free: 14.74 MB / 1.045 GB Notification: Performance of SimCode: time 1.854e-06/2.116, allocations: 0 / 1.517 GB, free: 14.74 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/2.298, allocations: 119.4 MB / 1.633 GB, free: 7.797 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/13.21, allocations: 24.81 kB / 1.633 GB, free: 7.785 MB / 1.154 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_ACLineMatrix_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches