Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_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.001589/0.001589, 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.001922/0.001922, allocations: 198.5 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.722/2.722, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.5869, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01864/0.6056, allocations: 16.02 MB / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008826/0.6145, allocations: 4.816 MB / 1.038 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.616, allocations: 63.69 kB / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.6191, allocations: 1.057 MB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.6211, allocations: 0.7464 MB / 1.04 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.6237, allocations: 0.9118 MB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003832/0.6276, allocations: 3.614 MB / 1.044 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006124/0.6337, allocations: 4.806 MB / 1.049 GB, free: 2.281 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.6361, allocations: 1.578 MB / 1.05 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.6388, allocations: 1.776 MB / 1.052 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008604/0.6397, allocations: 340 kB / 1.052 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.6417, allocations: 0.7958 MB / 1.053 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.6435, allocations: 1.333 MB / 1.054 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.646, allocations: 1.455 MB / 1.056 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005474/0.6515, allocations: 5.087 MB / 1.061 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.6515, allocations: 4 kB / 1.061 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6515, allocations: 0 / 1.061 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001499/0.6517, allocations: 4 kB / 1.061 GB, free: 5.883 MB / 0.8106 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.006812/0.6585, allocations: 2.643 MB / 1.063 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.332e-05/0.6586, allocations: 16.03 kB / 1.063 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.6597, allocations: 370.5 kB / 1.064 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/0.6638, allocations: 0.8329 MB / 1.065 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.6666, allocations: 1.497 MB / 1.066 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.6668, allocations: 177.1 kB / 1.066 GB, free: 244 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005897/0.6674, allocations: 236.3 kB / 1.066 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007354/0.6747, allocations: 4.162 MB / 1.07 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.6748, allocations: 11.94 kB / 1.07 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/0.6751, allocations: 99.98 kB / 1.071 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/0.6753, allocations: 172.5 kB / 1.071 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005861/0.6812, allocations: 3.636 MB / 1.074 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/0.6989, allocations: 16.55 MB / 1.09 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/0.7022, allocations: 2.289 MB / 1.093 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/0.703, allocations: 0.5759 MB / 1.093 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.7032, allocations: 93.66 kB / 1.093 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.7032, allocations: 47.06 kB / 1.093 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.345e-06/0.7032, allocations: 0 / 1.093 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.005411/0.7086, allocations: 3.428 MB / 1.097 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.7087, allocations: 111.5 kB / 1.097 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.7099, allocations: 1.018 MB / 1.098 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.227e-05/0.71, allocations: 37.7 kB / 1.098 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/0.7106, allocations: 1.103 MB / 1.099 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.7108, allocations: 280.1 kB / 1.099 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.7112, allocations: 275.2 kB / 1.099 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.7114, allocations: 414.7 kB / 1.1 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008649/0.7123, allocations: 0.6207 MB / 1.1 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.7135, allocations: 1.193 MB / 1.102 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.7156, allocations: 1.856 MB / 1.103 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.7156, allocations: 8 kB / 1.103 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003044/0.7187, allocations: 2.018 MB / 1.105 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.7187, allocations: 19.88 kB / 1.105 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.7187, allocations: 20 kB / 1.105 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/0.7192, allocations: 164 kB / 1.106 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.7203, allocations: 343.4 kB / 1.106 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.835e-05/0.7204, allocations: 39.86 kB / 1.106 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/0.7213, allocations: 127.7 kB / 1.106 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.7214, allocations: 71.98 kB / 1.106 GB, free: 4.684 MB / 0.8575 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.001303/0.7227, allocations: 0.9771 MB / 1.107 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.723, allocations: 110.6 kB / 1.107 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.725, allocations: 1.233 MB / 1.108 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.725, allocations: 8 kB / 1.108 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.725, allocations: 4 kB / 1.108 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.725, allocations: 3.984 kB / 1.108 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/0.7304, allocations: 3.808 MB / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.7304, allocations: 4 kB / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.731, allocations: 155.8 kB / 1.112 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003617/0.7314, allocations: 143.6 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.522e-05/0.7315, allocations: 12 kB / 1.112 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/0.7315, allocations: 11.94 kB / 1.112 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7315, allocations: 3.938 kB / 1.112 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.7334, allocations: 1.472 MB / 1.114 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.7338, allocations: 271.8 kB / 1.114 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.734, allocations: 19.91 kB / 1.114 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/0.7346, allocations: 71.89 kB / 1.114 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.7347, allocations: 48.44 kB / 1.114 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.7347, allocations: 27.98 kB / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008568/0.7356, allocations: 0.6992 MB / 1.115 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7356, allocations: 0 / 1.115 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001317/0.7369, allocations: 388 kB / 1.115 GB, free: 10.95 MB / 0.8731 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.00214/0.7391, allocations: 2.029 MB / 1.117 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002832/0.7419, allocations: 2.01 MB / 1.119 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.742, allocations: 0 / 1.119 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009194/0.7429, allocations: 0.868 MB / 1.12 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.7445, allocations: 273.7 kB / 1.12 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/0.7618, allocations: 13.33 MB / 1.133 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.7634, allocations: 1.924 MB / 1.135 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001119/0.7645, allocations: 449.4 kB / 1.136 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008012/0.7654, allocations: 0.7102 MB / 1.136 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/0.7654, allocations: 0 / 1.136 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05211/0.8175, allocations: 27.3 MB / 1.163 GB, free: 9.266 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.517/10.33, allocations: 13.3 kB / 1.163 GB, free: 9.254 MB / 0.92 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches