Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_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.001999/0.001999, allocations: 108 kB / 15.6 MB, free: 132 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.002169/0.002169, allocations: 199 kB / 16.54 MB, free: 6.672 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.517/1.517, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.582/2.582, allocations: 437.1 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 59.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.627, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006462/0.6335, allocations: 4.898 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004035/0.6376, allocations: 2.495 MB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/0.6381, allocations: 23.81 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.6394, allocations: 409.8 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.6406, allocations: 441.6 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.6415, allocations: 400.3 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.6426, allocations: 0.9173 MB / 1.027 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.6432, allocations: 356.8 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.6437, allocations: 334.7 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.6442, allocations: 350.4 kB / 1.028 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.6443, allocations: 40 kB / 1.028 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008431/0.6452, allocations: 403.1 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.6454, allocations: 187.4 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.6458, allocations: 318.2 kB / 1.029 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.6469, allocations: 0.8799 MB / 1.03 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6469, allocations: 0 / 1.03 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6469, allocations: 0 / 1.03 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.606e-05/0.647, allocations: 0 / 1.03 GB, free: 6.031 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001561/0.6485, allocations: 0.9501 MB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6486, allocations: 12.03 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.863e-05/0.6487, allocations: 86.7 kB / 1.031 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.6501, allocations: 215.7 kB / 1.031 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/0.6509, allocations: 498.3 kB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.6509, allocations: 37.36 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/0.651, allocations: 48.3 kB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.6522, allocations: 0.8446 MB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.6523, allocations: 7.938 kB / 1.032 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.6523, allocations: 20 kB / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-05/0.6524, allocations: 64.95 kB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.6533, allocations: 0.5734 MB / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004746/0.658, allocations: 5.654 MB / 1.038 GB, free: 12.42 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.6587, allocations: 462 kB / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.659, allocations: 229.3 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.659, allocations: 11.97 kB / 1.039 GB, free: 11.72 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.659, allocations: 34.56 kB / 1.039 GB, free: 11.68 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.659, allocations: 4 kB / 1.039 GB, free: 11.67 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002573/0.6616, allocations: 1.497 MB / 1.04 GB, free: 10.06 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.6617, allocations: 55.69 kB / 1.041 GB, free: 9.992 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.6622, allocations: 0.5028 MB / 1.041 GB, free: 9.477 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.6622, allocations: 33.7 kB / 1.041 GB, free: 9.438 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.6625, allocations: 350.8 kB / 1.041 GB, free: 9.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.6626, allocations: 118.4 kB / 1.041 GB, free: 8.973 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.6627, allocations: 110.2 kB / 1.042 GB, free: 8.859 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6629, allocations: 370.8 kB / 1.042 GB, free: 8.488 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.6632, allocations: 197.2 kB / 1.042 GB, free: 8.293 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.6636, allocations: 443.3 kB / 1.043 GB, free: 7.746 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007791/0.6644, allocations: 0.6954 MB / 1.043 GB, free: 6.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6644, allocations: 0 / 1.043 GB, free: 6.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001322/0.6657, allocations: 0.8128 MB / 1.044 GB, free: 6.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6657, allocations: 8 kB / 1.044 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.6658, allocations: 8 kB / 1.044 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/0.6663, allocations: 160.8 kB / 1.044 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.6667, allocations: 115.8 kB / 1.044 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.6698, allocations: 4.348 MB / 1.049 GB, free: 1.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.6702, allocations: 39.97 kB / 1.049 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.6703, allocations: 28 kB / 1.049 GB, free: 0.9648 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.6705, allocations: 218.5 kB / 1.049 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.6706, allocations: 59.25 kB / 1.049 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.6716, allocations: 0.6051 MB / 1.049 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6716, allocations: 7.938 kB / 1.049 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6716, allocations: 0 / 1.049 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6717, allocations: 0 / 1.049 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.6734, allocations: 1.266 MB / 1.051 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6734, allocations: 0 / 1.051 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.6737, allocations: 59.95 kB / 1.051 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/0.6741, allocations: 152.3 kB / 1.051 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.6741, allocations: 15.88 kB / 1.051 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.6771, allocations: 4.329 MB / 1.055 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6771, allocations: 0 / 1.055 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/0.6781, allocations: 0.7115 MB / 1.056 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.6783, allocations: 164.3 kB / 1.056 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.6784, allocations: 8 kB / 1.056 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.6787, allocations: 27.97 kB / 1.056 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.6787, allocations: 39.89 kB / 1.056 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.6788, allocations: 8 kB / 1.056 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003411/0.6791, allocations: 338.8 kB / 1.056 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6791, allocations: 0 / 1.056 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006186/0.6797, allocations: 144 kB / 1.057 GB, free: 8.211 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.681, allocations: 1.263 MB / 1.058 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.6832, allocations: 1.079 MB / 1.059 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6833, allocations: 0 / 1.059 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6844, allocations: 0.7388 MB / 1.06 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.6858, allocations: 207.6 kB / 1.06 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.6922, allocations: 5.249 MB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.6926, allocations: 0.9098 MB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.693, allocations: 125.3 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.6932, allocations: 191.4 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.6932, allocations: 0 / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04961/0.7428, allocations: 12.7 MB / 1.078 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.335/10.08, allocations: 6.688 kB / 1.078 GB, free: 1.395 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches