Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.008315/0.008315, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001829/0.00183, allocations: 189.8 kB / 16.67 MB, free: 5.516 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.374/1.374, 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.201/2.201, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7382, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04039/0.7786, allocations: 35.12 MB / 1.122 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0182/0.7969, allocations: 9.943 MB / 1.131 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.8008, allocations: 144.3 kB / 1.132 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.8114, allocations: 3.807 MB / 1.135 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007268/0.8187, allocations: 2.043 MB / 1.137 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006902/0.8256, allocations: 1.956 MB / 1.139 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0126/0.8382, allocations: 7.974 MB / 1.147 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01635/0.8546, allocations: 9.513 MB / 1.156 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007275/0.8619, allocations: 3.374 MB / 1.16 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007798/0.8698, allocations: 3.735 MB / 1.163 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003011/0.8728, allocations: 0.6786 MB / 1.164 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005906/0.8787, allocations: 1.449 MB / 1.165 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007199/0.886, allocations: 2.623 MB / 1.168 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.009809/0.8958, allocations: 3.1 MB / 1.171 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01963/0.9155, allocations: 10.38 MB / 1.181 GB, free: 11.8 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9155, allocations: 0 / 1.181 GB, free: 11.8 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9155, allocations: 3.938 kB / 1.181 GB, free: 11.79 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004193/0.916, allocations: 0 / 1.181 GB, free: 11.79 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01988/0.9359, allocations: 5.4 MB / 1.186 GB, free: 8.215 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.9359, allocations: 13.34 kB / 1.186 GB, free: 8.211 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002747/0.9387, allocations: 0.6999 MB / 1.187 GB, free: 7.715 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006704/0.9454, allocations: 0.9654 MB / 1.188 GB, free: 7.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008988/0.9544, allocations: 3.182 MB / 1.191 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.9548, allocations: 353.9 kB / 1.191 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/0.9571, allocations: 472.3 kB / 1.192 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.978, allocations: 7.906 MB / 1.2 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002457/0.9783, allocations: 19.78 kB / 1.2 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001895/0.9802, allocations: 215.9 kB / 1.2 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006132/0.9808, allocations: 369.1 kB / 1.2 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.9947, allocations: 5.933 MB / 1.206 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04787/1.043, allocations: 35.95 MB / 1.241 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/1.046, allocations: 2.143 MB / 1.243 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/1.049, allocations: 1.477 MB / 1.245 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/1.049, allocations: 17.31 kB / 1.245 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/1.049, allocations: 55.81 kB / 1.245 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.507e-06/1.049, allocations: 0 / 1.245 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01566/1.064, allocations: 7.544 MB / 1.252 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/1.065, allocations: 68.72 kB / 1.252 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/1.068, allocations: 1.864 MB / 1.254 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/1.068, allocations: 53.7 kB / 1.254 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001514/1.07, allocations: 2.127 MB / 1.256 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008412/1.071, allocations: 0.5546 MB / 1.257 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/1.072, allocations: 403.7 kB / 1.257 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.072, allocations: 301.1 kB / 1.257 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/1.074, allocations: 1.058 MB / 1.258 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/1.076, allocations: 1.768 MB / 1.26 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/1.08, allocations: 3.049 MB / 1.263 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/1.08, allocations: 8 kB / 1.263 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006988/1.087, allocations: 3.913 MB / 1.267 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/1.087, allocations: 15.98 kB / 1.267 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/1.087, allocations: 24 kB / 1.267 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/1.09, allocations: 0.9319 MB / 1.268 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/1.092, allocations: 427.2 kB / 1.268 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/1.112, allocations: 22.75 MB / 1.29 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/1.115, allocations: 135.9 kB / 1.291 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/1.115, allocations: 100.1 kB / 1.291 GB, free: 7.469 MB / 1.029 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003006/1.118, allocations: 1.649 MB / 1.292 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007237/1.119, allocations: 261 kB / 1.293 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005784/1.124, allocations: 3.256 MB / 1.296 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.124, allocations: 16 kB / 1.296 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.125, allocations: 12 kB / 1.296 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.125, allocations: 7.969 kB / 1.296 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/1.138, allocations: 7.553 MB / 1.303 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.138, allocations: 4 kB / 1.303 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009609/1.139, allocations: 215.6 kB / 1.303 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/1.142, allocations: 0.8964 MB / 1.304 GB, free: 9.352 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/1.142, allocations: 28 kB / 1.304 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/1.162, allocations: 22.72 MB / 1.326 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.162, allocations: 11.92 kB / 1.326 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006177/1.168, allocations: 3.379 MB / 1.33 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/1.169, allocations: 0.5215 MB / 1.33 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/1.17, allocations: 39.92 kB / 1.33 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.172, allocations: 100 kB / 1.33 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003992/1.172, allocations: 144.9 kB / 1.33 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.172, allocations: 48 kB / 1.331 GB, free: 12.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00211/1.174, allocations: 1.221 MB / 1.332 GB, free: 11.31 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.174, allocations: 3.938 kB / 1.332 GB, free: 11.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003703/1.178, allocations: 0.9062 MB / 1.333 GB, free: 10.4 MB / 1.076 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005686/1.184, allocations: 3.983 MB / 1.337 GB, free: 6.289 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006253/1.19, allocations: 4.432 MB / 1.341 GB, free: 1.711 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.19, allocations: 0 / 1.341 GB, free: 1.711 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004047/1.194, allocations: 2.996 MB / 1.344 GB, free: 14.56 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004029/1.198, allocations: 0.829 MB / 1.345 GB, free: 13.75 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03968/1.238, allocations: 25.05 MB / 1.369 GB, free: 3.605 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004257/1.242, allocations: 3.209 MB / 1.372 GB, free: 372 kB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001693/1.244, allocations: 0.5255 MB / 1.373 GB, free: 15.83 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/1.246, allocations: 1.651 MB / 1.374 GB, free: 14.18 MB / 1.123 GB Notification: Performance of SimCode: time 4.81e-07/1.246, allocations: 0 / 1.374 GB, free: 14.18 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/1.382, allocations: 70.26 MB / 1.443 GB, free: 8.789 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/15.3, allocations: 20.03 kB / 1.443 GB, free: 8.777 MB / 1.186 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches