Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_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_9_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.009715/0.009715, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001977/0.001977, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.25/2.25, allocations: 390.3 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7243/0.7257, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007049/0.7328, allocations: 6.809 MB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004961/0.7378, allocations: 3.069 MB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.7382, allocations: 28.22 kB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.7407, allocations: 0.9479 MB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.7419, allocations: 0.5056 MB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.743, allocations: 447.2 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.7444, allocations: 1.233 MB / 1.1 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009603/0.7454, allocations: 0.6567 MB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.7461, allocations: 475 kB / 1.101 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/0.7468, allocations: 0.5187 MB / 1.102 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.747, allocations: 71.25 kB / 1.102 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008097/0.7478, allocations: 379.2 kB / 1.102 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003523/0.7481, allocations: 306.6 kB / 1.103 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.7487, allocations: 455.5 kB / 1.103 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.7501, allocations: 1.218 MB / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7502, allocations: 0 / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7502, allocations: 0 / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.7502, allocations: 0.7031 kB / 1.104 GB, free: 11.23 MB / 0.8731 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.00202/0.7522, allocations: 1.169 MB / 1.105 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.7522, allocations: 9.469 kB / 1.105 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.7524, allocations: 118.7 kB / 1.105 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.754, allocations: 248.3 kB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009927/0.755, allocations: 0.6027 MB / 1.106 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.755, allocations: 48.69 kB / 1.106 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7551, allocations: 61.39 kB / 1.106 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.7567, allocations: 1.085 MB / 1.107 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.7567, allocations: 14.7 kB / 1.107 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.7568, allocations: 30.48 kB / 1.107 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.757, allocations: 83.47 kB / 1.108 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.7581, allocations: 0.7496 MB / 1.108 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/0.7633, allocations: 5.877 MB / 1.114 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.7644, allocations: 0.5648 MB / 1.115 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.7649, allocations: 326.1 kB / 1.115 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.7649, allocations: 8.469 kB / 1.115 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.765, allocations: 38.17 kB / 1.115 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.765, allocations: 1.156 kB / 1.115 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003922/0.7689, allocations: 1.992 MB / 1.117 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.769, allocations: 58.14 kB / 1.117 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.7696, allocations: 0.5595 MB / 1.117 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.7697, allocations: 32.88 kB / 1.117 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.7699, allocations: 422.1 kB / 1.118 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.7701, allocations: 171.8 kB / 1.118 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.7703, allocations: 128.1 kB / 1.118 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7704, allocations: 379 kB / 1.119 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.7708, allocations: 274.3 kB / 1.119 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.7714, allocations: 494.9 kB / 1.119 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/0.7724, allocations: 0.8105 MB / 1.12 GB, free: 208 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7724, allocations: 1.344 kB / 1.12 GB, free: 208 kB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001953/0.7744, allocations: 1.088 MB / 1.121 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.7744, allocations: 12.03 kB / 1.121 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.7744, allocations: 7.344 kB / 1.121 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009087/0.7753, allocations: 274 kB / 1.121 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.7759, allocations: 124.8 kB / 1.122 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006392/0.7823, allocations: 7.136 MB / 1.128 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006915/0.783, allocations: 36.11 kB / 1.129 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.783, allocations: 32.14 kB / 1.129 GB, free: 9.383 MB / 0.8887 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.0003901/0.7834, allocations: 256.4 kB / 1.129 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.7836, allocations: 76.22 kB / 1.129 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.7852, allocations: 0.8873 MB / 1.13 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7852, allocations: 9.781 kB / 1.13 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.7852, allocations: 3.375 kB / 1.13 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7852, allocations: 2.297 kB / 1.13 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.7881, allocations: 1.727 MB / 1.131 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.7881, allocations: 5.375 kB / 1.131 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.7884, allocations: 60.42 kB / 1.131 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008073/0.7892, allocations: 262.3 kB / 1.132 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.7892, allocations: 11.94 kB / 1.132 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.7956, allocations: 7.12 MB / 1.139 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7957, allocations: 1.797 kB / 1.139 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.7973, allocations: 0.9878 MB / 1.14 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.7976, allocations: 189.5 kB / 1.14 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.7978, allocations: 21.39 kB / 1.14 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.7982, allocations: 34.64 kB / 1.14 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7983, allocations: 37.11 kB / 1.14 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.7984, allocations: 18.22 kB / 1.14 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005019/0.7989, allocations: 394.9 kB / 1.14 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7989, allocations: 0 / 1.14 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009278/0.7998, allocations: 224.8 kB / 1.141 GB, free: 0.6445 MB / 0.8887 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.001823/0.8016, allocations: 1.542 MB / 1.142 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.8037, allocations: 1.274 MB / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.8037, allocations: 1.656 kB / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.805, allocations: 0.8932 MB / 1.144 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.8061, allocations: 220.7 kB / 1.144 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009723/0.8158, allocations: 6.382 MB / 1.151 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/0.8166, allocations: 1.014 MB / 1.152 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004637/0.8171, allocations: 126.2 kB / 1.152 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.8174, allocations: 251.2 kB / 1.152 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.8174, allocations: 0 / 1.152 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07332/0.8908, allocations: 17.49 MB / 1.169 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.99, allocations: 15.67 kB / 1.169 GB, free: 3.008 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches