Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.005118/0.005118, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.001223/0.001223, allocations: 192.4 kB / 16.68 MB, free: 5.938 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.192/2.192, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.7622, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03265/0.7949, allocations: 26.65 MB / 1.114 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01724/0.8122, allocations: 8.082 MB / 1.121 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003015/0.8153, allocations: 115.3 kB / 1.122 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.008578/0.8239, allocations: 2.764 MB / 1.124 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00685/0.8308, allocations: 1.667 MB / 1.126 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005511/0.8363, allocations: 1.675 MB / 1.127 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008803/0.8451, allocations: 6.161 MB / 1.133 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.8554, allocations: 7.322 MB / 1.141 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006423/0.8619, allocations: 2.615 MB / 1.143 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007637/0.8695, allocations: 2.837 MB / 1.146 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002383/0.872, allocations: 0.5088 MB / 1.146 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/0.8785, allocations: 1.291 MB / 1.148 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005109/0.8836, allocations: 2.046 MB / 1.15 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.007876/0.8915, allocations: 2.377 MB / 1.152 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.9076, allocations: 8.084 MB / 1.16 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9076, allocations: 1.406 kB / 1.16 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9076, allocations: 0 / 1.16 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002422/0.9079, allocations: 0 / 1.16 GB, free: 10.86 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01413/0.922, allocations: 4.335 MB / 1.164 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.9221, allocations: 8.938 kB / 1.164 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002134/0.9242, allocations: 0.5355 MB / 1.165 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005737/0.93, allocations: 0.8204 MB / 1.166 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007123/0.9371, allocations: 2.595 MB / 1.168 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.9375, allocations: 275.1 kB / 1.168 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.9398, allocations: 377.8 kB / 1.169 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.9551, allocations: 5.99 MB / 1.175 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.9553, allocations: 19.83 kB / 1.175 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000448/0.9557, allocations: 158.2 kB / 1.175 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006637/0.9564, allocations: 284.8 kB / 1.175 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.9664, allocations: 4.519 MB / 1.179 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03411/1.001, allocations: 27.5 MB / 1.206 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/1.002, allocations: 1.123 MB / 1.207 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/1.004, allocations: 1.015 MB / 1.208 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/1.004, allocations: 16.98 kB / 1.208 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.004, allocations: 47.56 kB / 1.208 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 3.116e-06/1.004, allocations: 0 / 1.208 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02217/1.026, allocations: 9.723 MB / 1.218 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/1.026, allocations: 68.66 kB / 1.218 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/1.028, allocations: 1.494 MB / 1.219 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/1.028, allocations: 49.7 kB / 1.219 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.029, allocations: 1.723 MB / 1.221 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/1.03, allocations: 487.9 kB / 1.222 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005676/1.03, allocations: 335.4 kB / 1.222 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.031, allocations: 305.1 kB / 1.222 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.032, allocations: 0.9135 MB / 1.223 GB, free: 100 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/1.034, allocations: 1.463 MB / 1.225 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/1.037, allocations: 2.55 MB / 1.227 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.037, allocations: 4 kB / 1.227 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006097/1.043, allocations: 3.294 MB / 1.23 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.043, allocations: 16 kB / 1.23 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/1.043, allocations: 16 kB / 1.23 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/1.045, allocations: 0.7418 MB / 1.231 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.047, allocations: 395.3 kB / 1.231 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/1.063, allocations: 17.04 MB / 1.248 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/1.065, allocations: 103.9 kB / 1.248 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/1.066, allocations: 72 kB / 1.248 GB, free: 4.602 MB / 0.9825 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002532/1.068, allocations: 1.314 MB / 1.249 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/1.069, allocations: 210.7 kB / 1.25 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/1.074, allocations: 2.78 MB / 1.252 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.074, allocations: 12 kB / 1.252 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/1.074, allocations: 8 kB / 1.252 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/1.074, allocations: 7.969 kB / 1.252 GB, free: 228 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/1.087, allocations: 6.221 MB / 1.258 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.087, allocations: 7.938 kB / 1.258 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.088, allocations: 231.6 kB / 1.259 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/1.09, allocations: 0.6752 MB / 1.259 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.09, allocations: 32 kB / 1.259 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/1.106, allocations: 16.8 MB / 1.276 GB, free: 6.805 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.106, allocations: 7.938 kB / 1.276 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/1.113, allocations: 4.013 MB / 1.28 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.114, allocations: 463.7 kB / 1.28 GB, free: 2.203 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000553/1.115, allocations: 47.86 kB / 1.28 GB, free: 2.156 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.116, allocations: 79.89 kB / 1.28 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/1.116, allocations: 120.7 kB / 1.28 GB, free: 1.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.116, allocations: 40 kB / 1.28 GB, free: 1.922 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001683/1.118, allocations: 0.9903 MB / 1.281 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.11e-07/1.118, allocations: 0 / 1.281 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003033/1.121, allocations: 0.6836 MB / 1.282 GB, free: 264 kB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006761/1.128, allocations: 4.608 MB / 1.287 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0054/1.133, allocations: 3.526 MB / 1.29 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.133, allocations: 7.938 kB / 1.29 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003379/1.137, allocations: 2.3 MB / 1.292 GB, free: 5.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/1.14, allocations: 0.6675 MB / 1.293 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03645/1.177, allocations: 21.26 MB / 1.314 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/1.18, allocations: 2.664 MB / 1.316 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001527/1.182, allocations: 493.4 kB / 1.317 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/1.183, allocations: 1.279 MB / 1.318 GB, free: 10.22 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.183, allocations: 0 / 1.318 GB, free: 10.22 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/1.292, allocations: 57.22 MB / 1.374 GB, free: 1.738 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/14.06, allocations: 5.594 kB / 1.374 GB, free: 1.738 MB / 1.107 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches