Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_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.001165/0.001165, 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.001514/0.001514, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.639/2.639, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 63.91 kB / 0.8694 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6352, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01051/0.6458, allocations: 6.806 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005597/0.6514, allocations: 3.063 MB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007799/0.6522, allocations: 31.81 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.6551, allocations: 0.9543 MB / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.6568, allocations: 0.5011 MB / 1.029 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.6582, allocations: 445.4 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.66, allocations: 1.236 MB / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.6612, allocations: 0.6528 MB / 1.031 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009576/0.6622, allocations: 478.3 kB / 1.031 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.6633, allocations: 0.5176 MB / 1.032 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.6635, allocations: 68 kB / 1.032 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.6646, allocations: 379.2 kB / 1.032 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/0.6651, allocations: 311.1 kB / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008366/0.666, allocations: 445.8 kB / 1.033 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.6678, allocations: 1.211 MB / 1.034 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6678, allocations: 4 kB / 1.034 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6678, allocations: 0 / 1.034 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.81e-05/0.6679, allocations: 0 / 1.034 GB, free: 1.398 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00294/0.6708, allocations: 1.165 MB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/0.6709, allocations: 12.03 kB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003064/0.6712, allocations: 118.7 kB / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.6732, allocations: 243.5 kB / 1.036 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.6745, allocations: 0.5492 MB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.6746, allocations: 45.67 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.6747, allocations: 64.38 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.6764, allocations: 1.093 MB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.6765, allocations: 11.84 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.6766, allocations: 35.98 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.6767, allocations: 77.25 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.6783, allocations: 0.7543 MB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006636/0.6849, allocations: 5.893 MB / 1.044 GB, free: 6.707 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.6861, allocations: 0.5529 MB / 1.044 GB, free: 6.145 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.6866, allocations: 326 kB / 1.045 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.6866, allocations: 8.438 kB / 1.045 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6867, allocations: 39 kB / 1.045 GB, free: 5.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 4.939e-06/0.6867, allocations: 0 / 1.045 GB, free: 5.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.004216/0.6909, allocations: 1.99 MB / 1.047 GB, free: 3.684 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.691, allocations: 55.84 kB / 1.047 GB, free: 3.617 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/0.6917, allocations: 0.5664 MB / 1.047 GB, free: 3.043 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.6917, allocations: 37.7 kB / 1.047 GB, free: 3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.692, allocations: 422.8 kB / 1.048 GB, free: 2.578 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.6922, allocations: 169.6 kB / 1.048 GB, free: 2.41 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.6924, allocations: 126.5 kB / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6926, allocations: 382.7 kB / 1.048 GB, free: 1.898 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.693, allocations: 273.8 kB / 1.049 GB, free: 1.629 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.6935, allocations: 489 kB / 1.049 GB, free: 1.059 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6946, allocations: 0.8093 MB / 1.05 GB, free: 160 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.6946, allocations: 4 kB / 1.05 GB, free: 156 kB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001928/0.6965, allocations: 1.087 MB / 1.051 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.6966, allocations: 10.19 kB / 1.051 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6966, allocations: 8 kB / 1.051 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008727/0.6974, allocations: 287.7 kB / 1.051 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.6979, allocations: 123.8 kB / 1.051 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006549/0.7045, allocations: 7.137 MB / 1.058 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.7052, allocations: 39.95 kB / 1.058 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/0.7053, allocations: 28 kB / 1.058 GB, free: 6.848 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004446/0.7058, allocations: 257.5 kB / 1.059 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.706, allocations: 79.09 kB / 1.059 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.7076, allocations: 0.8925 MB / 1.06 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7077, allocations: 4 kB / 1.06 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.7077, allocations: 4 kB / 1.06 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.7077, allocations: 3.984 kB / 1.06 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.7103, allocations: 1.717 MB / 1.061 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7103, allocations: 3.938 kB / 1.061 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.7106, allocations: 59.89 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/0.7114, allocations: 275.3 kB / 1.062 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.7115, allocations: 4 kB / 1.062 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006452/0.7179, allocations: 7.132 MB / 1.069 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.718, allocations: 8 kB / 1.069 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.7196, allocations: 0.9834 MB / 1.07 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.72, allocations: 196.2 kB / 1.07 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.7201, allocations: 11.94 kB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.7206, allocations: 35.89 kB / 1.07 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7207, allocations: 43.89 kB / 1.07 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.7208, allocations: 12 kB / 1.07 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004723/0.7212, allocations: 395.1 kB / 1.07 GB, free: 10 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7212, allocations: 0 / 1.07 GB, free: 10 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000852/0.7221, allocations: 224 kB / 1.07 GB, free: 9.785 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0018/0.7239, allocations: 1.536 MB / 1.072 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.726, allocations: 1.334 MB / 1.073 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.726, allocations: 0 / 1.073 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.7273, allocations: 0.8933 MB / 1.074 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.7284, allocations: 221.5 kB / 1.074 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009047/0.7375, allocations: 6.562 MB / 1.081 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.7382, allocations: 1.009 MB / 1.082 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004614/0.7387, allocations: 125.9 kB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.739, allocations: 259.3 kB / 1.082 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of SimCode: time 1.233e-06/0.739, allocations: 3.938 kB / 1.082 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05066/0.7897, allocations: 17.24 MB / 1.099 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.527/10.32, allocations: 8.047 kB / 1.099 GB, free: 12.39 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches