Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007895/0.007895, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.002034/0.002034, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 63.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2891, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01224/0.3014, allocations: 10.1 MB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005347/0.3068, allocations: 3.185 MB / 1.233 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.3073, allocations: 35.88 kB / 1.233 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.3089, allocations: 0.5907 MB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.3104, allocations: 0.7388 MB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.312, allocations: 0.7404 MB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.3153, allocations: 2.992 MB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.3183, allocations: 2.59 MB / 1.241 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.3201, allocations: 1.258 MB / 1.242 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.3223, allocations: 1.55 MB / 1.243 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.3227, allocations: 236 kB / 1.244 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.3238, allocations: 0.4994 MB / 1.244 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.325, allocations: 1.08 MB / 1.245 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.3264, allocations: 1.116 MB / 1.246 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5732/0.8996, allocations: 3.691 MB / 1.25 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.8997, allocations: 1.812 kB / 1.25 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8997, allocations: 0 / 1.25 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001139/0.8998, allocations: 1.375 kB / 1.25 GB, free: 13.91 MB / 0.9981 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.004007/0.9038, allocations: 2.186 MB / 1.252 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9039, allocations: 10.59 kB / 1.252 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003154/0.9042, allocations: 262.4 kB / 1.252 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008534/0.9127, allocations: 1.32 MB / 1.254 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.9147, allocations: 1.308 MB / 1.255 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.9148, allocations: 118.2 kB / 1.255 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.9151, allocations: 141.9 kB / 1.255 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/0.9197, allocations: 3.439 MB / 1.258 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.9197, allocations: 3.281 kB / 1.258 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.9199, allocations: 67.59 kB / 1.258 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/0.9201, allocations: 205.6 kB / 1.259 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.9242, allocations: 3.129 MB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.9395, allocations: 13.56 MB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.9419, allocations: 1.734 MB / 1.277 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.9437, allocations: 1.446 MB / 1.278 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.9438, allocations: 10.16 kB / 1.278 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.9438, allocations: 44.22 kB / 1.278 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.9438, allocations: 0 / 1.278 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=183): time 0.1469/1.091, allocations: 36.72 MB / 1.314 GB, free: 12.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/1.091, allocations: 71.19 kB / 1.314 GB, free: 12.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/1.093, allocations: 1.051 MB / 1.315 GB, free: 11.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003381/1.093, allocations: 56.05 kB / 1.315 GB, free: 11.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006652/1.094, allocations: 0.8082 MB / 1.316 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007859/1.095, allocations: 0.6514 MB / 1.317 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009739/1.096, allocations: 362.1 kB / 1.317 GB, free: 10.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.096, allocations: 306.2 kB / 1.317 GB, free: 9.797 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/1.099, allocations: 1.933 MB / 1.319 GB, free: 8.809 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/1.102, allocations: 2.285 MB / 1.321 GB, free: 7.418 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005887/1.108, allocations: 4.394 MB / 1.326 GB, free: 4.953 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/1.108, allocations: 2.344 kB / 1.326 GB, free: 4.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02075/1.128, allocations: 9.031 MB / 1.334 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/1.129, allocations: 10.44 kB / 1.334 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/1.129, allocations: 17.41 kB / 1.334 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01791/1.147, allocations: 4.974 MB / 1.339 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/1.148, allocations: 197.8 kB / 1.34 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06203/1.21, allocations: 38.94 MB / 1.378 GB, free: 2.172 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.212, allocations: 99.89 kB / 1.378 GB, free: 2.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/1.212, allocations: 68 kB / 1.378 GB, free: 2.008 MB / 1.061 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.001615/1.214, allocations: 0.801 MB / 1.378 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/1.214, allocations: 143.1 kB / 1.379 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02099/1.235, allocations: 8.897 MB / 1.387 GB, free: 8.258 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/1.235, allocations: 20 kB / 1.387 GB, free: 8.238 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.819e-05/1.235, allocations: 31.98 kB / 1.387 GB, free: 8.207 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/1.235, allocations: 11.97 kB / 1.387 GB, free: 8.195 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0288/1.264, allocations: 13.4 MB / 1.4 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/1.264, allocations: 4 kB / 1.4 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/1.265, allocations: 120.7 kB / 1.401 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01748/1.282, allocations: 4.838 MB / 1.405 GB, free: 5.816 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003289/1.283, allocations: 36.56 kB / 1.405 GB, free: 5.781 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05864/1.341, allocations: 36.86 MB / 1.441 GB, free: 404 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.341, allocations: 7.938 kB / 1.441 GB, free: 396 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02081/1.362, allocations: 8.611 MB / 1.45 GB, free: 7.691 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.364, allocations: 0.6444 MB / 1.45 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000478/1.364, allocations: 32 kB / 1.45 GB, free: 6.996 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.366, allocations: 99.34 kB / 1.45 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008388/1.367, allocations: 161.7 kB / 1.451 GB, free: 6.742 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/1.367, allocations: 44 kB / 1.451 GB, free: 6.699 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001107/1.368, allocations: 0.7382 MB / 1.451 GB, free: 5.949 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.41e-07/1.368, allocations: 0 / 1.451 GB, free: 5.949 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003304/1.371, allocations: 1.004 MB / 1.452 GB, free: 4.945 MB / 1.139 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%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02089/1.392, allocations: 9.2 MB / 1.461 GB, free: 11.64 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.403, allocations: 5.95 MB / 1.467 GB, free: 5.668 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.403, allocations: 4.188 kB / 1.467 GB, free: 5.664 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.008481/1.412, allocations: 3.956 MB / 1.471 GB, free: 1.656 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/1.413, allocations: 245.6 kB / 1.471 GB, free: 1.426 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06121/1.475, allocations: 31.07 MB / 1.502 GB, free: 1.836 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.477, allocations: 1.861 MB / 1.503 GB, free: 15.95 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008696/1.478, allocations: 351.4 kB / 1.504 GB, free: 15.6 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/1.479, allocations: 0.6086 MB / 1.504 GB, free: 15 MB / 1.201 GB Notification: Performance of SimCode: time 8.81e-07/1.479, allocations: 0 / 1.504 GB, free: 15 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/1.618, allocations: 76.16 MB / 1.579 GB, free: 3.227 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.91, allocations: 7.859 kB / 1.579 GB, free: 3.219 MB / 1.264 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches