Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.007032/0.007032, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001831/0.001831, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.324/2.324, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 70.95 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2262, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006929/0.2331, allocations: 5.463 MB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004157/0.2373, allocations: 2.607 MB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.2377, allocations: 31.81 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.2395, allocations: 0.6841 MB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009067/0.2404, allocations: 421.8 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/0.2414, allocations: 391.1 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009869/0.2424, allocations: 0.9591 MB / 1.098 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.243, allocations: 470.7 kB / 1.098 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.2435, allocations: 374.7 kB / 1.099 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.244, allocations: 398.4 kB / 1.099 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.272e-05/0.2441, allocations: 48 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005754/0.2447, allocations: 363.2 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.2449, allocations: 247.4 kB / 1.1 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.2453, allocations: 346.2 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2463, allocations: 0.9806 MB / 1.101 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2463, allocations: 4 kB / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2463, allocations: 0 / 1.101 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.2463, allocations: 0 / 1.101 GB, free: 4.234 MB / 0.8575 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.00156/0.2479, allocations: 0.9883 MB / 1.102 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.248, allocations: 12.03 kB / 1.102 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.2481, allocations: 102.7 kB / 1.102 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.2495, allocations: 196.3 kB / 1.102 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.2503, allocations: 0.526 MB / 1.103 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.2504, allocations: 41.36 kB / 1.103 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.2505, allocations: 52.56 kB / 1.103 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.2516, allocations: 0.8316 MB / 1.104 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.2517, allocations: 4 kB / 1.104 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.2517, allocations: 23.98 kB / 1.104 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/0.2519, allocations: 64.94 kB / 1.104 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008778/0.2528, allocations: 0.5735 MB / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.257, allocations: 4.578 MB / 1.109 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.2574, allocations: 291.3 kB / 1.109 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.2577, allocations: 225.3 kB / 1.109 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.2578, allocations: 4.281 kB / 1.109 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2578, allocations: 38.84 kB / 1.109 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 3.957e-06/0.2578, allocations: 0 / 1.109 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005478/0.2633, allocations: 2.647 MB / 1.112 GB, free: 8.379 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2633, allocations: 55.41 kB / 1.112 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.2638, allocations: 461.9 kB / 1.112 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.2638, allocations: 37.7 kB / 1.112 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.264, allocations: 352.5 kB / 1.113 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.2642, allocations: 146.7 kB / 1.113 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.2643, allocations: 110.2 kB / 1.113 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2645, allocations: 362.8 kB / 1.113 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.2648, allocations: 237 kB / 1.113 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.2653, allocations: 403.9 kB / 1.114 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008307/0.2661, allocations: 0.6778 MB / 1.115 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2661, allocations: 4 kB / 1.115 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001633/0.2678, allocations: 0.9251 MB / 1.115 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2678, allocations: 8 kB / 1.115 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2678, allocations: 4 kB / 1.115 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/0.2686, allocations: 226.8 kB / 1.116 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/0.2691, allocations: 115.8 kB / 1.116 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/0.2741, allocations: 5.348 MB / 1.121 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.2745, allocations: 27.97 kB / 1.121 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.2746, allocations: 24 kB / 1.121 GB, free: 14.26 MB / 0.8887 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.0002442/0.2748, allocations: 225.7 kB / 1.121 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.2749, allocations: 63.56 kB / 1.121 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.2764, allocations: 0.7733 MB / 1.122 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2764, allocations: 7.938 kB / 1.122 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2764, allocations: 4 kB / 1.122 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2764, allocations: 3.984 kB / 1.122 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.2788, allocations: 1.501 MB / 1.124 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2788, allocations: 0 / 1.124 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.2792, allocations: 63.95 kB / 1.124 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000677/0.2799, allocations: 214.5 kB / 1.124 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.28, allocations: 8 kB / 1.124 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.2846, allocations: 5.278 MB / 1.129 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2846, allocations: 0 / 1.129 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.2863, allocations: 1.143 MB / 1.13 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.2866, allocations: 176.6 kB / 1.13 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.2867, allocations: 8 kB / 1.13 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.287, allocations: 27.97 kB / 1.13 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.2871, allocations: 31.95 kB / 1.13 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.2871, allocations: 12 kB / 1.13 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003105/0.2874, allocations: 306.9 kB / 1.131 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2874, allocations: 4 kB / 1.131 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005937/0.288, allocations: 172 kB / 1.131 GB, free: 3.656 MB / 0.8887 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.001985/0.29, allocations: 1.704 MB / 1.132 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.2916, allocations: 1.006 MB / 1.133 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.2916, allocations: 4 kB / 1.133 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009375/0.2925, allocations: 0.6836 MB / 1.134 GB, free: 124 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.2934, allocations: 171 kB / 1.134 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007186/0.3006, allocations: 5.634 MB / 1.14 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.3011, allocations: 0.9416 MB / 1.141 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.3015, allocations: 125 kB / 1.141 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.3017, allocations: 207.4 kB / 1.141 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.3017, allocations: 0 / 1.141 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.339, allocations: 14.09 MB / 1.155 GB, free: 10.91 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.68, allocations: 8 kB / 1.155 GB, free: 10.9 MB / 0.92 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.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_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches