Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.009287/0.009287, allocations: 95.17 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.00187/0.00187, allocations: 206.3 kB / 16.68 MB, free: 5.973 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 66.7 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2422, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02415/0.2664, allocations: 22.59 MB / 1.11 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.2767, allocations: 6.229 MB / 1.116 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.2784, allocations: 91.56 kB / 1.116 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.2824, allocations: 1.541 MB / 1.117 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.2866, allocations: 1.735 MB / 1.119 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.29, allocations: 1.345 MB / 1.12 GB, free: 356 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006382/0.2964, allocations: 5.951 MB / 1.126 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006972/0.3034, allocations: 6.04 MB / 1.132 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.3068, allocations: 2.454 MB / 1.134 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004045/0.3109, allocations: 2.866 MB / 1.137 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009924/0.3119, allocations: 456 kB / 1.138 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.3142, allocations: 1.096 MB / 1.139 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002124/0.3164, allocations: 2.035 MB / 1.141 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.319, allocations: 2.17 MB / 1.143 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007739/0.3267, allocations: 7.312 MB / 1.15 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3268, allocations: 0 / 1.15 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3268, allocations: 0 / 1.15 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001557/0.3269, allocations: 0 / 1.15 GB, free: 1.828 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007439/0.3344, allocations: 3.913 MB / 1.154 GB, free: 13.85 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/0.3345, allocations: 8.031 kB / 1.154 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007373/0.3352, allocations: 0.5054 MB / 1.154 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006212/0.3414, allocations: 1.235 MB / 1.155 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.3464, allocations: 2.345 MB / 1.158 GB, free: 9.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3466, allocations: 238.4 kB / 1.158 GB, free: 9.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006983/0.3473, allocations: 323.9 kB / 1.158 GB, free: 9.133 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009929/0.3572, allocations: 6.212 MB / 1.164 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.667e-05/0.3574, allocations: 15.88 kB / 1.164 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.3577, allocations: 143.9 kB / 1.164 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004562/0.3582, allocations: 406.3 kB / 1.165 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008382/0.3666, allocations: 4.662 MB / 1.169 GB, free: 13.44 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03349/0.4001, allocations: 28.99 MB / 1.198 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.4022, allocations: 1.42 MB / 1.199 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.4041, allocations: 1.491 MB / 1.201 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.4042, allocations: 16.94 kB / 1.201 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4042, allocations: 47.5 kB / 1.201 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 2.625e-06/0.4042, allocations: 0 / 1.201 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=179): time 0.1479/0.5521, allocations: 37.29 MB / 1.237 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.5522, allocations: 77.34 kB / 1.237 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.5543, allocations: 1.419 MB / 1.238 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.5546, allocations: 53.7 kB / 1.239 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.5556, allocations: 1.583 MB / 1.24 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/0.5563, allocations: 0.639 MB / 1.241 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008346/0.5572, allocations: 379.5 kB / 1.241 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.5573, allocations: 305.1 kB / 1.241 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/0.5598, allocations: 1.784 MB / 1.243 GB, free: 15.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/0.5627, allocations: 2.354 MB / 1.245 GB, free: 12.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005661/0.5684, allocations: 4.398 MB / 1.25 GB, free: 7.855 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.5684, allocations: 4 kB / 1.25 GB, free: 7.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.5366/1.105, allocations: 8.57 MB / 1.258 GB, free: 154.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/1.105, allocations: 18.59 kB / 1.258 GB, free: 154.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/1.105, allocations: 17.22 kB / 1.258 GB, free: 154.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01597/1.121, allocations: 4.635 MB / 1.263 GB, free: 154.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.122, allocations: 302.4 kB / 1.263 GB, free: 154.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04774/1.17, allocations: 32.63 MB / 1.295 GB, free: 138.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.172, allocations: 154.1 kB / 1.295 GB, free: 138.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.173, allocations: 84.28 kB / 1.295 GB, free: 138.4 MB / 1.014 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002085/1.175, allocations: 1.324 MB / 1.296 GB, free: 137.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/1.175, allocations: 212.1 kB / 1.296 GB, free: 137.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/1.192, allocations: 8.441 MB / 1.305 GB, free: 135.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/1.192, allocations: 17.53 kB / 1.305 GB, free: 135.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.284e-05/1.192, allocations: 25.5 kB / 1.305 GB, free: 135.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/1.192, allocations: 11.48 kB / 1.305 GB, free: 135.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/1.215, allocations: 12.84 MB / 1.317 GB, free: 127.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.215, allocations: 5.938 kB / 1.317 GB, free: 127.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/1.215, allocations: 174.1 kB / 1.318 GB, free: 127.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/1.228, allocations: 4.487 MB / 1.322 GB, free: 125.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/1.229, allocations: 34.12 kB / 1.322 GB, free: 125.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03697/1.265, allocations: 32.23 MB / 1.353 GB, free: 93.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.266, allocations: 15.88 kB / 1.353 GB, free: 93.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.28, allocations: 8.245 MB / 1.361 GB, free: 85.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.282, allocations: 0.6294 MB / 1.362 GB, free: 84.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/1.282, allocations: 43.98 kB / 1.362 GB, free: 84.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/1.284, allocations: 131.8 kB / 1.362 GB, free: 84.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006456/1.285, allocations: 176.8 kB / 1.362 GB, free: 84.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.285, allocations: 48.38 kB / 1.362 GB, free: 84.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001062/1.286, allocations: 0.9627 MB / 1.363 GB, free: 83.08 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.286, allocations: 0 / 1.363 GB, free: 83.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00292/1.289, allocations: 1.113 MB / 1.364 GB, free: 81.97 MB / 1.014 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/1.303, allocations: 8.844 MB / 1.373 GB, free: 73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.314, allocations: 6.564 MB / 1.38 GB, free: 66.37 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.314, allocations: 0 / 1.38 GB, free: 66.37 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008476/1.323, allocations: 4.369 MB / 1.384 GB, free: 61.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.326, allocations: 0.5318 MB / 1.384 GB, free: 61.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05167/1.377, allocations: 33.74 MB / 1.417 GB, free: 26.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/1.38, allocations: 2.723 MB / 1.42 GB, free: 24.03 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009401/1.381, allocations: 384.6 kB / 1.42 GB, free: 23.65 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.382, allocations: 1.21 MB / 1.421 GB, free: 22.44 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.383, allocations: 4 kB / 1.421 GB, free: 22.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/1.513, allocations: 83.91 MB / 1.503 GB, free: 2.996 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/14.28, allocations: 19.3 kB / 1.503 GB, free: 2.984 MB / 1.076 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches