Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.001335/0.001335, 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.001151/0.001151, allocations: 198.4 kB / 16.53 MB, free: 6.668 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.413/2.413, allocations: 390.3 MB / 0.6647 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.8127 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.585/0.5863, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009779/0.5962, allocations: 10.09 MB / 0.9596 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005135/0.6013, allocations: 3.172 MB / 0.9627 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008001/0.6022, allocations: 37 kB / 0.9627 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.6038, allocations: 0.59 MB / 0.9633 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.6055, allocations: 0.7408 MB / 0.964 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.6072, allocations: 0.742 MB / 0.9647 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003358/0.6106, allocations: 2.995 MB / 0.9677 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.6141, allocations: 2.616 MB / 0.9702 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.6162, allocations: 1.243 MB / 0.9714 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.6193, allocations: 1.563 MB / 0.973 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.6205, allocations: 235.8 kB / 0.9732 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.6223, allocations: 0.5011 MB / 0.9737 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.6243, allocations: 1.069 MB / 0.9747 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002973/0.6273, allocations: 1.119 MB / 0.9758 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.6318, allocations: 3.661 MB / 0.9794 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6318, allocations: 0 / 0.9794 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6318, allocations: 0 / 0.9794 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.564e-05/0.6319, allocations: 0 / 0.9794 GB, free: 3.309 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003902/0.6358, allocations: 2.146 MB / 0.9815 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6358, allocations: 8.031 kB / 0.9815 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003249/0.6362, allocations: 261.2 kB / 0.9817 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009035/0.6452, allocations: 1.309 MB / 0.983 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.6473, allocations: 1.263 MB / 0.9843 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.6474, allocations: 111.4 kB / 0.9844 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.6477, allocations: 148.3 kB / 0.9845 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/0.6526, allocations: 3.437 MB / 0.9879 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.6526, allocations: 0 / 0.9879 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.6528, allocations: 75.95 kB / 0.9879 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/0.6531, allocations: 203.1 kB / 0.9881 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0046/0.6577, allocations: 3.124 MB / 0.9912 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.6739, allocations: 13.63 MB / 1.004 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.6763, allocations: 1.728 MB / 1.006 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.6782, allocations: 1.436 MB / 1.008 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.909e-05/0.6783, allocations: 9 kB / 1.008 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.6783, allocations: 51.55 kB / 1.008 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/0.6783, allocations: 0 / 1.008 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1509/0.8293, allocations: 36.67 MB / 1.043 GB, free: 460 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.8293, allocations: 73.34 kB / 1.044 GB, free: 376 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.8308, allocations: 1.05 MB / 1.045 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.8311, allocations: 53.7 kB / 1.045 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.8316, allocations: 0.7912 MB / 1.045 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000622/0.8322, allocations: 0.62 MB / 1.046 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008085/0.833, allocations: 367.3 kB / 1.046 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.8331, allocations: 305.1 kB / 1.047 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/0.8359, allocations: 1.932 MB / 1.048 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.8388, allocations: 2.281 MB / 1.051 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/0.8445, allocations: 4.396 MB / 1.055 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.8446, allocations: 4 kB / 1.055 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02086/0.8654, allocations: 9.02 MB / 1.064 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.8655, allocations: 12 kB / 1.064 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.8655, allocations: 8 kB / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01761/0.8831, allocations: 5.009 MB / 1.069 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/0.884, allocations: 187.6 kB / 1.069 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05875/0.9428, allocations: 38.92 MB / 1.107 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.9449, allocations: 103.9 kB / 1.107 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003205/0.9453, allocations: 67.98 kB / 1.107 GB, free: 14.33 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001483/0.9468, allocations: 0.8063 MB / 1.108 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.9471, allocations: 142.3 kB / 1.108 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02073/0.9679, allocations: 8.886 MB / 1.117 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.9679, allocations: 16 kB / 1.117 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.962e-05/0.968, allocations: 32 kB / 1.117 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.893e-05/0.9681, allocations: 7.969 kB / 1.117 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/0.9976, allocations: 13.31 MB / 1.13 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.376e-05/0.9977, allocations: 7.984 kB / 1.13 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.9983, allocations: 115.8 kB / 1.13 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01764/1.016, allocations: 4.795 MB / 1.135 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000319/1.016, allocations: 32 kB / 1.135 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05677/1.073, allocations: 34.85 MB / 1.169 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.073, allocations: 11.88 kB / 1.169 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/1.094, allocations: 8.4 MB / 1.177 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.095, allocations: 0.6163 MB / 1.177 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004824/1.096, allocations: 39.94 kB / 1.177 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.097, allocations: 91.89 kB / 1.178 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008181/1.098, allocations: 165.6 kB / 1.178 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.098, allocations: 44 kB / 1.178 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001037/1.1, allocations: 0.7382 MB / 1.178 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.1, allocations: 0 / 1.178 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003027/1.103, allocations: 1.004 MB / 1.179 GB, free: 3.301 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01984/1.122, allocations: 8.997 MB / 1.188 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.133, allocations: 6.702 MB / 1.195 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.133, allocations: 4.062 kB / 1.195 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.008027/1.141, allocations: 3.833 MB / 1.199 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.143, allocations: 239.1 kB / 1.199 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.061/1.204, allocations: 31.71 MB / 1.23 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/1.207, allocations: 1.863 MB / 1.232 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001027/1.208, allocations: 355.3 kB / 1.232 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000823/1.209, allocations: 0.6047 MB / 1.232 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.209, allocations: 0 / 1.232 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5578/1.767, allocations: 74.16 MB / 1.305 GB, free: 267.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.98, allocations: 6.938 kB / 1.305 GB, free: 267.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_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_ACLineMatrix_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches