Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_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.008846/0.008846, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001969/0.00197, allocations: 185.9 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.376/1.376, 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 12.0.0-master/package.mo): time 2.573/2.573, allocations: 472.7 MB / 0.7453 GB, free: 404 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7524, allocations: 159.9 MB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01736/0.7698, allocations: 16.03 MB / 1.241 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007604/0.7774, allocations: 4.82 MB / 1.246 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.7787, allocations: 63.69 kB / 1.246 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.7815, allocations: 1.053 MB / 1.247 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.7834, allocations: 0.7777 MB / 1.247 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.7857, allocations: 0.9186 MB / 1.248 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003478/0.7892, allocations: 3.618 MB / 1.252 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005356/0.7945, allocations: 4.757 MB / 1.256 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.7968, allocations: 1.613 MB / 1.258 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.7993, allocations: 1.776 MB / 1.26 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007676/0.8, allocations: 340 kB / 1.26 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.8019, allocations: 0.7958 MB / 1.261 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001733/0.8036, allocations: 1.322 MB / 1.262 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002431/0.8061, allocations: 1.459 MB / 1.264 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005254/0.8113, allocations: 5.147 MB / 1.269 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8114, allocations: 0 / 1.269 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8114, allocations: 4 kB / 1.269 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001387/0.8115, allocations: 0 / 1.269 GB, free: 0.7188 MB / 0.9825 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.006717/0.8182, allocations: 2.719 MB / 1.271 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.8183, allocations: 8.031 kB / 1.271 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008762/0.8192, allocations: 370.5 kB / 1.272 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/0.8234, allocations: 0.8499 MB / 1.272 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.8264, allocations: 1.568 MB / 1.274 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.8266, allocations: 177.1 kB / 1.274 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006684/0.8273, allocations: 232.4 kB / 1.274 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007246/0.8346, allocations: 4.161 MB / 1.278 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.645e-05/0.8347, allocations: 11.89 kB / 1.278 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.835, allocations: 99.98 kB / 1.279 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.8352, allocations: 172.5 kB / 1.279 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005893/0.8411, allocations: 3.63 MB / 1.282 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01744/0.8586, allocations: 16.45 MB / 1.298 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.8618, allocations: 2.292 MB / 1.301 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008242/0.8626, allocations: 0.5819 MB / 1.301 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.8628, allocations: 101.7 kB / 1.301 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.8629, allocations: 43.06 kB / 1.301 GB, free: 13.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=72): time 3.246e-06/0.8629, allocations: 4 kB / 1.301 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.005735/0.8686, allocations: 3.499 MB / 1.305 GB, free: 9.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.8687, allocations: 115.5 kB / 1.305 GB, free: 9.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.8701, allocations: 1.014 MB / 1.306 GB, free: 8.551 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.8702, allocations: 41.7 kB / 1.306 GB, free: 8.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007177/0.8709, allocations: 1.142 MB / 1.307 GB, free: 7.348 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.8712, allocations: 285.6 kB / 1.307 GB, free: 7.066 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/0.8716, allocations: 279.4 kB / 1.307 GB, free: 6.785 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.8718, allocations: 418.7 kB / 1.308 GB, free: 6.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008975/0.8727, allocations: 0.6167 MB / 1.308 GB, free: 5.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.8739, allocations: 1.193 MB / 1.31 GB, free: 4.293 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.876, allocations: 1.864 MB / 1.311 GB, free: 2.164 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/0.876, allocations: 4 kB / 1.311 GB, free: 2.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003181/0.8792, allocations: 2.023 MB / 1.313 GB, free: 120 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.8792, allocations: 13.88 kB / 1.313 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/0.8793, allocations: 24 kB / 1.313 GB, free: 84 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.8797, allocations: 159.4 kB / 1.314 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.8808, allocations: 347.4 kB / 1.314 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.839e-05/0.8809, allocations: 35.86 kB / 1.314 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009852/0.8818, allocations: 131.7 kB / 1.314 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.882, allocations: 71.98 kB / 1.314 GB, free: 15.34 MB / 1.045 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.001432/0.8834, allocations: 0.9693 MB / 1.315 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.8837, allocations: 123.2 kB / 1.315 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.8857, allocations: 1.241 MB / 1.316 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.8857, allocations: 8 kB / 1.316 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.8857, allocations: 0 / 1.316 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.8858, allocations: 3.984 kB / 1.316 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005522/0.8913, allocations: 3.798 MB / 1.32 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.8913, allocations: 4 kB / 1.32 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.8919, allocations: 160 kB / 1.32 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003432/0.8923, allocations: 139.3 kB / 1.32 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.8923, allocations: 16 kB / 1.321 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.8923, allocations: 11.94 kB / 1.321 GB, free: 8.68 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8924, allocations: 3.938 kB / 1.321 GB, free: 8.676 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.8942, allocations: 1.474 MB / 1.322 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.8947, allocations: 276.3 kB / 1.322 GB, free: 6.859 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.8949, allocations: 20 kB / 1.322 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006105/0.8955, allocations: 59.91 kB / 1.322 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.8956, allocations: 64.42 kB / 1.322 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.8957, allocations: 23.98 kB / 1.322 GB, free: 6.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008768/0.8966, allocations: 0.6953 MB / 1.323 GB, free: 5.988 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8966, allocations: 0 / 1.323 GB, free: 5.988 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001378/0.898, allocations: 388 kB / 1.323 GB, free: 5.609 MB / 1.045 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.002116/0.9001, allocations: 2.041 MB / 1.325 GB, free: 3.504 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.9023, allocations: 1.722 MB / 1.327 GB, free: 1.699 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9023, allocations: 3.938 kB / 1.327 GB, free: 1.695 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.9032, allocations: 0.8553 MB / 1.328 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.9047, allocations: 274.3 kB / 1.328 GB, free: 496 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.9223, allocations: 12.89 MB / 1.341 GB, free: 2.867 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.9242, allocations: 1.924 MB / 1.343 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001029/0.9252, allocations: 449.4 kB / 1.343 GB, free: 480 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008581/0.9261, allocations: 0.7141 MB / 1.344 GB, free: 15.75 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/0.9261, allocations: 0 / 1.344 GB, free: 15.75 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/0.9786, allocations: 27.89 MB / 1.371 GB, free: 4.199 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.6, allocations: 13.88 kB / 1.371 GB, free: 4.188 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches