Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.006011/0.006011, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001211/0.001211, allocations: 190 kB / 16.67 MB, free: 5.934 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.251/2.251, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 63.89 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8036, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01894/0.8226, allocations: 16.01 MB / 1.103 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009083/0.8317, allocations: 4.816 MB / 1.108 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.833, allocations: 69.16 kB / 1.108 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.836, allocations: 1.058 MB / 1.109 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.8382, allocations: 0.7793 MB / 1.11 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.8406, allocations: 0.9135 MB / 1.111 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004152/0.8448, allocations: 3.621 MB / 1.114 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005502/0.8503, allocations: 4.756 MB / 1.119 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.8529, allocations: 1.598 MB / 1.12 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.8555, allocations: 1.778 MB / 1.122 GB, free: 492 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006081/0.8561, allocations: 339.8 kB / 1.122 GB, free: 492 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.8579, allocations: 0.7976 MB / 1.123 GB, free: 312 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.8594, allocations: 1.324 MB / 1.124 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.8613, allocations: 1.463 MB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00785/0.8692, allocations: 5.142 MB / 1.131 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.8693, allocations: 1.703 kB / 1.131 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8693, allocations: 0 / 1.131 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000232/0.8695, allocations: 0 / 1.131 GB, free: 13.2 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.008452/0.878, allocations: 2.724 MB / 1.134 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.878, allocations: 9.062 kB / 1.134 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007604/0.8788, allocations: 371.3 kB / 1.134 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.8831, allocations: 0.8455 MB / 1.135 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.8868, allocations: 1.572 MB / 1.136 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.887, allocations: 177.4 kB / 1.136 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/0.8875, allocations: 233.6 kB / 1.137 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008126/0.8957, allocations: 4.162 MB / 1.141 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-05/0.8957, allocations: 7.281 kB / 1.141 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000309/0.8961, allocations: 98.69 kB / 1.141 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.8963, allocations: 175.2 kB / 1.141 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006879/0.9032, allocations: 3.623 MB / 1.145 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/0.9248, allocations: 16.46 MB / 1.161 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.9282, allocations: 2.286 MB / 1.163 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/0.9291, allocations: 0.5926 MB / 1.163 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.9293, allocations: 93.62 kB / 1.164 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.9294, allocations: 42.81 kB / 1.164 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 3.847e-06/0.9294, allocations: 0 / 1.164 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008104/0.9375, allocations: 3.508 MB / 1.167 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.9376, allocations: 112.2 kB / 1.167 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.9394, allocations: 1.016 MB / 1.168 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.9396, allocations: 39.89 kB / 1.168 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000906/0.9405, allocations: 1.137 MB / 1.169 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.9408, allocations: 291.2 kB / 1.169 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.9413, allocations: 282 kB / 1.17 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002341/0.9415, allocations: 423.2 kB / 1.17 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.9426, allocations: 0.6138 MB / 1.171 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.944, allocations: 1.189 MB / 1.172 GB, free: 272 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.9464, allocations: 1.867 MB / 1.174 GB, free: 14.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/0.9465, allocations: 5.562 kB / 1.174 GB, free: 14.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003546/0.95, allocations: 2.025 MB / 1.176 GB, free: 13.74 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.9501, allocations: 13.97 kB / 1.176 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/0.9501, allocations: 22.91 kB / 1.176 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.9506, allocations: 162.7 kB / 1.176 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.9518, allocations: 343.9 kB / 1.176 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.924e-05/0.9518, allocations: 42.25 kB / 1.176 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.9531, allocations: 126.5 kB / 1.176 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.9532, allocations: 68.16 kB / 1.176 GB, free: 13.46 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001804/0.955, allocations: 0.9774 MB / 1.177 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.9554, allocations: 117.1 kB / 1.178 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.9578, allocations: 1.23 MB / 1.179 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.9578, allocations: 8.156 kB / 1.179 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.9579, allocations: 2.375 kB / 1.179 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.9579, allocations: 5.078 kB / 1.179 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007775/0.9657, allocations: 3.797 MB / 1.182 GB, free: 9.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.9657, allocations: 6.938 kB / 1.182 GB, free: 9.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.9664, allocations: 157 kB / 1.183 GB, free: 9.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003627/0.9667, allocations: 141.7 kB / 1.183 GB, free: 9.48 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.9668, allocations: 17.78 kB / 1.183 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.9668, allocations: 9.438 kB / 1.183 GB, free: 9.465 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.9668, allocations: 6.875 kB / 1.183 GB, free: 9.461 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.9689, allocations: 1.474 MB / 1.184 GB, free: 8.141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007887/0.9697, allocations: 276.3 kB / 1.184 GB, free: 7.852 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/0.9701, allocations: 23.95 kB / 1.185 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008239/0.9709, allocations: 63.91 kB / 1.185 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.9711, allocations: 64.36 kB / 1.185 GB, free: 7.703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.9711, allocations: 20 kB / 1.185 GB, free: 7.684 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001165/0.9723, allocations: 0.6992 MB / 1.185 GB, free: 6.973 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9723, allocations: 0 / 1.185 GB, free: 6.973 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002035/0.9744, allocations: 388 kB / 1.186 GB, free: 6.594 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002433/0.9768, allocations: 2.041 MB / 1.188 GB, free: 4.488 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.9792, allocations: 1.715 MB / 1.189 GB, free: 2.691 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.9793, allocations: 4.25 kB / 1.189 GB, free: 2.688 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.9802, allocations: 0.858 MB / 1.19 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.982, allocations: 285.1 kB / 1.19 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/1.002, allocations: 12.9 MB / 1.203 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002352/1.005, allocations: 1.924 MB / 1.205 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001138/1.006, allocations: 449.4 kB / 1.205 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.007, allocations: 0.7141 MB / 1.206 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/1.007, allocations: 4 kB / 1.206 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0518/1.059, allocations: 27.87 MB / 1.233 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.86, allocations: 14.59 kB / 1.233 GB, free: 5.152 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_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_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches