Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.001109/0.001109, 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.001249/0.001249, allocations: 197.7 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.447/2.447, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 67.94 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3384, allocations: 157.4 MB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04399/0.3824, allocations: 37.97 MB / 1.09 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.4028, allocations: 10.99 MB / 1.101 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.4068, allocations: 155.3 kB / 1.101 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.4181, allocations: 4.36 MB / 1.105 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00677/0.4249, allocations: 2.215 MB / 1.107 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005921/0.4309, allocations: 2.174 MB / 1.109 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01194/0.4428, allocations: 9.28 MB / 1.118 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01908/0.4619, allocations: 11.35 MB / 1.13 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00834/0.4703, allocations: 3.973 MB / 1.133 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007693/0.4781, allocations: 4.51 MB / 1.138 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002833/0.4809, allocations: 0.8203 MB / 1.139 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004755/0.4857, allocations: 1.584 MB / 1.14 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005246/0.491, allocations: 3.154 MB / 1.143 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008563/0.4996, allocations: 3.653 MB / 1.147 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.5175, allocations: 12.23 MB / 1.159 GB, free: 11.38 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.5176, allocations: 4 kB / 1.159 GB, free: 11.38 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5176, allocations: 0 / 1.159 GB, free: 11.38 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005221/0.5181, allocations: 4 kB / 1.159 GB, free: 11.37 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01822/0.5364, allocations: 6.314 MB / 1.165 GB, free: 4.988 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.5364, allocations: 8.625 kB / 1.165 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003106/0.5395, allocations: 0.8255 MB / 1.166 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006293/0.5459, allocations: 1.071 MB / 1.167 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007853/0.5537, allocations: 3.415 MB / 1.17 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004423/0.5542, allocations: 427.7 kB / 1.171 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/0.5564, allocations: 0.5511 MB / 1.171 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.5778, allocations: 9.373 MB / 1.18 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003332/0.5782, allocations: 23.72 kB / 1.18 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002227/0.5804, allocations: 252 kB / 1.181 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007873/0.5812, allocations: 426.9 kB / 1.181 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.5978, allocations: 7.127 MB / 1.188 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05338/0.6513, allocations: 41.3 MB / 1.228 GB, free: 56 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005568/0.6569, allocations: 3.102 MB / 1.231 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003594/0.6605, allocations: 2.14 MB / 1.233 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.6607, allocations: 29.98 kB / 1.233 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.6608, allocations: 60.56 kB / 1.233 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.779e-06/0.6608, allocations: 0 / 1.233 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.0246/0.6854, allocations: 10.56 MB / 1.244 GB, free: 56 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.6855, allocations: 73.41 kB / 1.244 GB, free: 15.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.6887, allocations: 2.005 MB / 1.246 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002082/0.689, allocations: 65.7 kB / 1.246 GB, free: 13.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.6904, allocations: 2.4 MB / 1.248 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007538/0.6912, allocations: 0.7318 MB / 1.249 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.6923, allocations: 477.2 kB / 1.249 GB, free: 10.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6925, allocations: 305.1 kB / 1.25 GB, free: 9.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.6948, allocations: 1.372 MB / 1.251 GB, free: 8.555 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.6979, allocations: 2.104 MB / 1.253 GB, free: 6.129 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007038/0.705, allocations: 3.766 MB / 1.257 GB, free: 2.055 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.443e-05/0.705, allocations: 8 kB / 1.257 GB, free: 2.047 MB / 1.014 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.4996/1.205, allocations: 5.063 MB / 1.262 GB, free: 186.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/1.205, allocations: 14.84 kB / 1.262 GB, free: 186.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/1.205, allocations: 22.41 kB / 1.262 GB, free: 186.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/1.208, allocations: 1.592 MB / 1.263 GB, free: 186.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.21, allocations: 457.8 kB / 1.264 GB, free: 186.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/1.232, allocations: 18.59 MB / 1.282 GB, free: 180.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/1.235, allocations: 143.1 kB / 1.282 GB, free: 180.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/1.235, allocations: 110.6 kB / 1.282 GB, free: 180.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003253/1.238, allocations: 1.943 MB / 1.284 GB, free: 179.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006512/1.239, allocations: 290.9 kB / 1.284 GB, free: 179.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007036/1.246, allocations: 4.451 MB / 1.289 GB, free: 177.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/1.246, allocations: 22.06 kB / 1.289 GB, free: 177.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.608e-05/1.246, allocations: 16.25 kB / 1.289 GB, free: 177.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/1.246, allocations: 11.2 kB / 1.289 GB, free: 177.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.261, allocations: 9.676 MB / 1.298 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.261, allocations: 4.5 kB / 1.298 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/1.262, allocations: 232.7 kB / 1.298 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/1.265, allocations: 1.44 MB / 1.3 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/1.265, allocations: 38.5 kB / 1.3 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/1.284, allocations: 18.57 MB / 1.318 GB, free: 161.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.284, allocations: 7.797 kB / 1.318 GB, free: 161.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006011/1.29, allocations: 4.537 MB / 1.322 GB, free: 158.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.291, allocations: 0.6365 MB / 1.323 GB, free: 158.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003807/1.291, allocations: 45.59 kB / 1.323 GB, free: 158.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.292, allocations: 117.5 kB / 1.323 GB, free: 158 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/1.293, allocations: 183.4 kB / 1.323 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.293, allocations: 61.88 kB / 1.323 GB, free: 157.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001474/1.295, allocations: 1.315 MB / 1.325 GB, free: 157.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.295, allocations: 0 / 1.325 GB, free: 157.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003359/1.298, allocations: 1.141 MB / 1.326 GB, free: 157.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005937/1.304, allocations: 5.156 MB / 1.331 GB, free: 152.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008855/1.313, allocations: 5.91 MB / 1.337 GB, free: 146.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.313, allocations: 5.094 kB / 1.337 GB, free: 146.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004043/1.317, allocations: 2.925 MB / 1.339 GB, free: 143.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/1.321, allocations: 0.8965 MB / 1.34 GB, free: 143.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/1.358, allocations: 33.62 MB / 1.373 GB, free: 107 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/1.362, allocations: 3.686 MB / 1.377 GB, free: 103.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001889/1.363, allocations: 0.5561 MB / 1.377 GB, free: 102.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.365, allocations: 1.951 MB / 1.379 GB, free: 100.8 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.365, allocations: 0 / 1.379 GB, free: 100.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1402/1.505, allocations: 85.69 MB / 1.463 GB, free: 16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/14.2, allocations: 10.69 kB / 1.463 GB, free: 16 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches