Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.001323/0.001323, allocations: 112.5 kB / 15.73 MB, free: 76 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.001322/0.001322, allocations: 193.4 kB / 16.67 MB, free: 6.582 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.711/2.711, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.299, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007304/0.3064, allocations: 5.555 MB / 1.226 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004145/0.3105, allocations: 2.638 MB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.3108, allocations: 27.81 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3126, allocations: 0.6767 MB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008996/0.3135, allocations: 417.7 kB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.3144, allocations: 410.8 kB / 1.23 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.3155, allocations: 0.9591 MB / 1.231 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006513/0.3162, allocations: 466.5 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.3166, allocations: 366.7 kB / 1.231 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/0.3172, allocations: 406.4 kB / 1.232 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.3173, allocations: 48 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000639/0.3179, allocations: 359.3 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.3182, allocations: 251.3 kB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.3185, allocations: 350.2 kB / 1.233 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.3196, allocations: 0.9767 MB / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3196, allocations: 0 / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3196, allocations: 0 / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3197, allocations: 0 / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001563/0.3212, allocations: 1 MB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3213, allocations: 12.03 kB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.3214, allocations: 98.69 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.3227, allocations: 204.2 kB / 1.235 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.3235, allocations: 0.5262 MB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.3236, allocations: 41.36 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.3237, allocations: 56.55 kB / 1.236 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3249, allocations: 0.8326 MB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.325, allocations: 4 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.325, allocations: 19.98 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001894/0.3252, allocations: 72.94 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.3262, allocations: 0.5657 MB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/0.3307, allocations: 4.574 MB / 1.241 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.3312, allocations: 299.3 kB / 1.242 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.3315, allocations: 229.2 kB / 1.242 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3315, allocations: 4.281 kB / 1.242 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3316, allocations: 42.84 kB / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.3316, allocations: 0 / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005682/0.3373, allocations: 2.643 MB / 1.245 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3373, allocations: 55.41 kB / 1.245 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.3378, allocations: 466 kB / 1.245 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.3379, allocations: 37.58 kB / 1.245 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.3381, allocations: 356.5 kB / 1.245 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.3383, allocations: 154.7 kB / 1.246 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.3385, allocations: 106.2 kB / 1.246 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3386, allocations: 362.8 kB / 1.246 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.339, allocations: 241 kB / 1.246 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.3395, allocations: 406.5 kB / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009497/0.3405, allocations: 0.6817 MB / 1.247 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3405, allocations: 0 / 1.247 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001726/0.3423, allocations: 0.9174 MB / 1.248 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3423, allocations: 11.98 kB / 1.248 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3423, allocations: 4 kB / 1.248 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008154/0.3431, allocations: 227 kB / 1.248 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.3436, allocations: 111.8 kB / 1.249 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4938/0.8375, allocations: 5.334 MB / 1.254 GB, free: 25.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.838, allocations: 36.86 kB / 1.254 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.8381, allocations: 24.27 kB / 1.254 GB, free: 25.01 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002604/0.8383, allocations: 224.2 kB / 1.254 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.8384, allocations: 59.7 kB / 1.254 GB, free: 24.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.8399, allocations: 0.7838 MB / 1.255 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.8399, allocations: 6.031 kB / 1.255 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8399, allocations: 2.844 kB / 1.255 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.8399, allocations: 2.062 kB / 1.255 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.842, allocations: 1.503 MB / 1.256 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.8421, allocations: 6.469 kB / 1.256 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.8425, allocations: 69.97 kB / 1.256 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/0.8431, allocations: 205.3 kB / 1.257 GB, free: 24.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.8431, allocations: 10.88 kB / 1.257 GB, free: 24.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/0.8467, allocations: 5.275 MB / 1.262 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8467, allocations: 4.891 kB / 1.262 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.8481, allocations: 1.133 MB / 1.263 GB, free: 20.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.8483, allocations: 171.4 kB / 1.263 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.8484, allocations: 8.047 kB / 1.263 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.8487, allocations: 27.56 kB / 1.263 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.8488, allocations: 35.53 kB / 1.263 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.8488, allocations: 12.31 kB / 1.263 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002983/0.8491, allocations: 320.2 kB / 1.263 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8491, allocations: 3.969 kB / 1.263 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006063/0.8498, allocations: 165.5 kB / 1.264 GB, free: 19.85 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001717/0.8515, allocations: 1.69 MB / 1.265 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.8529, allocations: 1.019 MB / 1.266 GB, free: 18.69 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8529, allocations: 0 / 1.266 GB, free: 18.69 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008069/0.8537, allocations: 0.6889 MB / 1.267 GB, free: 18.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/0.8546, allocations: 186.1 kB / 1.267 GB, free: 18.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/0.8614, allocations: 5.646 MB / 1.273 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.8618, allocations: 0.9487 MB / 1.274 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.8622, allocations: 115.1 kB / 1.274 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.8624, allocations: 213.7 kB / 1.274 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.8624, allocations: 3.938 kB / 1.274 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.049/0.9114, allocations: 14.2 MB / 1.288 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/12.01, allocations: 17.36 kB / 1.288 GB, free: 13.64 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_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_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches