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.007418/0.007418, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001745/0.001745, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.161/2.161, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 75.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7542/0.7558, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01931/0.7751, allocations: 16.01 MB / 1.103 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009989/0.7852, allocations: 4.825 MB / 1.108 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.7869, allocations: 65 kB / 1.108 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.79, allocations: 1.046 MB / 1.109 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.7923, allocations: 0.7451 MB / 1.11 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.7953, allocations: 0.9155 MB / 1.111 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004503/0.7999, allocations: 3.616 MB / 1.114 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006733/0.8066, allocations: 4.758 MB / 1.119 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.8095, allocations: 1.579 MB / 1.12 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.8127, allocations: 1.788 MB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.8138, allocations: 339.5 kB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.8164, allocations: 0.793 MB / 1.123 GB, free: 348 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.8189, allocations: 1.329 MB / 1.124 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003607/0.8225, allocations: 1.454 MB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008632/0.8312, allocations: 5.129 MB / 1.131 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8312, allocations: 1.344 kB / 1.131 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.354e-06/0.8312, allocations: 0.6562 kB / 1.131 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001721/0.8314, allocations: 3.938 kB / 1.131 GB, free: 13.25 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.01019/0.8416, allocations: 2.656 MB / 1.133 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.8417, allocations: 10.31 kB / 1.133 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001521/0.8432, allocations: 374.7 kB / 1.134 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.8486, allocations: 0.8326 MB / 1.135 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/0.8533, allocations: 1.571 MB / 1.136 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.8535, allocations: 177.4 kB / 1.136 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.8546, allocations: 230.1 kB / 1.137 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.8661, allocations: 4.165 MB / 1.141 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.8663, allocations: 3.078 kB / 1.141 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009079/0.8672, allocations: 98.89 kB / 1.141 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002486/0.8675, allocations: 170.6 kB / 1.141 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007597/0.8751, allocations: 3.636 MB / 1.144 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.8971, allocations: 16.42 MB / 1.16 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/0.9006, allocations: 2.291 MB / 1.163 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009094/0.9016, allocations: 0.5841 MB / 1.163 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.9017, allocations: 94.66 kB / 1.163 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.9018, allocations: 43 kB / 1.163 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.735e-06/0.9018, allocations: 0 / 1.163 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.00749/0.9093, allocations: 3.43 MB / 1.167 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.9094, allocations: 119 kB / 1.167 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.9113, allocations: 1.02 MB / 1.168 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-05/0.9113, allocations: 36.2 kB / 1.168 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008655/0.9122, allocations: 1.101 MB / 1.169 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.9125, allocations: 274.6 kB / 1.169 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004992/0.913, allocations: 277.6 kB / 1.169 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.9132, allocations: 419.6 kB / 1.17 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9143, allocations: 0.6168 MB / 1.17 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.9157, allocations: 1.193 MB / 1.172 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.9181, allocations: 1.855 MB / 1.173 GB, free: 15.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-05/0.9181, allocations: 6.656 kB / 1.173 GB, free: 15.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003523/0.9217, allocations: 2.02 MB / 1.175 GB, free: 14.03 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.9217, allocations: 16.5 kB / 1.175 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/0.9217, allocations: 18.69 kB / 1.175 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004481/0.9222, allocations: 168.8 kB / 1.176 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.9234, allocations: 346.8 kB / 1.176 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-05/0.9234, allocations: 39.14 kB / 1.176 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.9246, allocations: 134 kB / 1.176 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.9247, allocations: 67.73 kB / 1.176 GB, free: 13.74 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.001596/0.9263, allocations: 0.9778 MB / 1.177 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.9266, allocations: 108 kB / 1.177 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.9289, allocations: 1.227 MB / 1.178 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.9289, allocations: 7.5 kB / 1.178 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.9289, allocations: 2.344 kB / 1.178 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.9289, allocations: 9.016 kB / 1.178 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/0.9361, allocations: 3.798 MB / 1.182 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.9361, allocations: 2.719 kB / 1.182 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.9367, allocations: 160.8 kB / 1.182 GB, free: 9.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.9371, allocations: 145.1 kB / 1.182 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.9371, allocations: 13.97 kB / 1.182 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/0.9372, allocations: 10 kB / 1.182 GB, free: 9.754 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9372, allocations: 2.5 kB / 1.182 GB, free: 9.754 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.9393, allocations: 1.466 MB / 1.184 GB, free: 8.488 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/0.94, allocations: 279.7 kB / 1.184 GB, free: 8.195 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.9402, allocations: 19.98 kB / 1.184 GB, free: 8.176 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/0.941, allocations: 63.91 kB / 1.184 GB, free: 8.113 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.9411, allocations: 60.36 kB / 1.184 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/0.9412, allocations: 28 kB / 1.184 GB, free: 8.027 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001013/0.9422, allocations: 0.6953 MB / 1.185 GB, free: 7.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9422, allocations: 0 / 1.185 GB, free: 7.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001754/0.944, allocations: 384 kB / 1.185 GB, free: 6.945 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.002355/0.9463, allocations: 2.036 MB / 1.187 GB, free: 4.844 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.9487, allocations: 1.713 MB / 1.189 GB, free: 3.047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.9488, allocations: 1.812 kB / 1.189 GB, free: 3.047 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000973/0.9497, allocations: 0.8664 MB / 1.19 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.9513, allocations: 276.8 kB / 1.19 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.9707, allocations: 12.85 MB / 1.203 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/0.973, allocations: 1.916 MB / 1.205 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001066/0.9741, allocations: 453.4 kB / 1.205 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009768/0.9751, allocations: 0.7102 MB / 1.206 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of SimCode: time 2.404e-06/0.9751, allocations: 0 / 1.206 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05583/1.031, allocations: 27.87 MB / 1.233 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.95, allocations: 3.859 kB / 1.233 GB, free: 5.586 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