Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_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.007544/0.007544, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001755/0.001755, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.197/2.197, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7327, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005562/0.7383, allocations: 4.896 MB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004154/0.7425, allocations: 2.49 MB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005023/0.7431, allocations: 24.47 kB / 1.095 GB, free: 176 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.7443, allocations: 399.1 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.7458, allocations: 448.5 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.7471, allocations: 391.2 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.7486, allocations: 0.9236 MB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.7493, allocations: 360.5 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.7499, allocations: 342.6 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.7506, allocations: 348.1 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-05/0.7507, allocations: 38.03 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009853/0.7517, allocations: 409.7 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.7519, allocations: 180.8 kB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.7523, allocations: 325.5 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.7538, allocations: 0.8787 MB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7538, allocations: 1.094 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7539, allocations: 0 / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.7539, allocations: 0 / 1.1 GB, free: 13.88 MB / 0.8731 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.001866/0.7558, allocations: 0.9524 MB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7558, allocations: 9.875 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.7559, allocations: 93.2 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.7573, allocations: 210.6 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.7584, allocations: 0.5449 MB / 1.101 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.7585, allocations: 31.09 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.7586, allocations: 49.48 kB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.7598, allocations: 0.8489 MB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.7599, allocations: 7.75 kB / 1.102 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.7599, allocations: 27.77 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.7601, allocations: 65.84 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.7613, allocations: 0.5725 MB / 1.103 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.7661, allocations: 5.643 MB / 1.108 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/0.7669, allocations: 450.7 kB / 1.109 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.7672, allocations: 232.2 kB / 1.109 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.7673, allocations: 3.406 kB / 1.109 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.7673, allocations: 36.48 kB / 1.109 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 4.839e-06/0.7673, allocations: 5.078 kB / 1.109 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002815/0.7701, allocations: 1.508 MB / 1.111 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.7702, allocations: 58.72 kB / 1.111 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/0.7708, allocations: 0.498 MB / 1.111 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.7709, allocations: 31.3 kB / 1.111 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.7711, allocations: 356.8 kB / 1.111 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.7712, allocations: 121.8 kB / 1.112 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.7714, allocations: 106.9 kB / 1.112 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7716, allocations: 370.7 kB / 1.112 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.7719, allocations: 199.9 kB / 1.112 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.7724, allocations: 451.2 kB / 1.113 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008853/0.7732, allocations: 0.6846 MB / 1.113 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.7733, allocations: 2.906 kB / 1.113 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001381/0.7746, allocations: 0.8088 MB / 1.114 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.7747, allocations: 8.406 kB / 1.114 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.7747, allocations: 14.06 kB / 1.114 GB, free: 3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.7753, allocations: 151.7 kB / 1.114 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.7758, allocations: 121.8 kB / 1.114 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.7791, allocations: 4.342 MB / 1.119 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.7797, allocations: 42.42 kB / 1.119 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.7797, allocations: 27.5 kB / 1.119 GB, free: 14.62 MB / 0.8887 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.0003015/0.78, allocations: 212.4 kB / 1.119 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.7802, allocations: 61.66 kB / 1.119 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.7813, allocations: 0.6035 MB / 1.12 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7813, allocations: 7.156 kB / 1.12 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7813, allocations: 2.312 kB / 1.12 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7813, allocations: 2.016 kB / 1.12 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.7833, allocations: 1.264 MB / 1.121 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7833, allocations: 3.781 kB / 1.121 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.7836, allocations: 53.88 kB / 1.121 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/0.784, allocations: 143.4 kB / 1.121 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.7841, allocations: 10.62 kB / 1.121 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.7871, allocations: 4.333 MB / 1.125 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7871, allocations: 2.625 kB / 1.125 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.7882, allocations: 0.7191 MB / 1.126 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.7886, allocations: 165.7 kB / 1.126 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.7887, allocations: 13.56 kB / 1.126 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.7891, allocations: 21.97 kB / 1.126 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.7891, allocations: 39.59 kB / 1.126 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.7892, allocations: 9 kB / 1.126 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004317/0.7896, allocations: 342 kB / 1.127 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7896, allocations: 0 / 1.127 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007343/0.7904, allocations: 143 kB / 1.127 GB, free: 8.309 MB / 0.8887 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.001292/0.7917, allocations: 1.255 MB / 1.128 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.7932, allocations: 1.041 MB / 1.129 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7932, allocations: 0 / 1.129 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008612/0.7941, allocations: 0.7403 MB / 1.13 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.7952, allocations: 206 kB / 1.13 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/0.8023, allocations: 5.136 MB / 1.135 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.8028, allocations: 0.9098 MB / 1.136 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004089/0.8033, allocations: 127 kB / 1.136 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.8035, allocations: 190.5 kB / 1.136 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of SimCode: time 1.062e-06/0.8035, allocations: 0.8125 kB / 1.136 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/0.8523, allocations: 12.86 MB / 1.149 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.14, allocations: 14.02 kB / 1.149 GB, free: 15.81 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches