Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007617/0.007617, allocations: 98.47 kB / 15.73 MB, free: 5.949 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.002006/0.002006, allocations: 193 kB / 16.67 MB, free: 5.871 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 59.91 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.671, allocations: 151.6 MB / 1.166 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007746/0.6788, allocations: 5.473 MB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004776/0.6836, allocations: 2.634 MB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.6839, allocations: 19.88 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.6858, allocations: 0.6862 MB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008583/0.6867, allocations: 413.7 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.6876, allocations: 397.4 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.6886, allocations: 0.9436 MB / 1.176 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006577/0.6893, allocations: 462.2 kB / 1.177 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.6898, allocations: 374.6 kB / 1.177 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.6903, allocations: 406.4 kB / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.6904, allocations: 48 kB / 1.178 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006068/0.691, allocations: 367.2 kB / 1.178 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.6913, allocations: 247.4 kB / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.6917, allocations: 350.2 kB / 1.179 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.6928, allocations: 0.9689 MB / 1.18 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6928, allocations: 0 / 1.18 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6928, allocations: 0 / 1.18 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6928, allocations: 4 kB / 1.18 GB, free: 6.059 MB / 0.9044 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.001654/0.6945, allocations: 0.9961 MB / 1.181 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.6946, allocations: 12.92 kB / 1.181 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.6947, allocations: 94.7 kB / 1.181 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.6961, allocations: 200.3 kB / 1.181 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.6969, allocations: 0.5145 MB / 1.181 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.697, allocations: 37.38 kB / 1.181 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.6971, allocations: 56.5 kB / 1.181 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.6984, allocations: 0.8239 MB / 1.182 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.6984, allocations: 11.94 kB / 1.182 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.6985, allocations: 24 kB / 1.182 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.6987, allocations: 64.94 kB / 1.182 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.6996, allocations: 0.5697 MB / 1.183 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004717/0.7043, allocations: 4.581 MB / 1.187 GB, free: 13.55 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.7049, allocations: 295.2 kB / 1.188 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.7052, allocations: 225.3 kB / 1.188 GB, free: 13.03 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.7053, allocations: 4.281 kB / 1.188 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.7053, allocations: 38.84 kB / 1.188 GB, free: 12.98 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.7053, allocations: 0 / 1.188 GB, free: 12.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005919/0.7112, allocations: 2.648 MB / 1.19 GB, free: 10.2 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.7113, allocations: 59.41 kB / 1.191 GB, free: 10.13 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.7118, allocations: 458 kB / 1.191 GB, free: 9.672 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.7119, allocations: 37.64 kB / 1.191 GB, free: 9.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.7121, allocations: 352.5 kB / 1.191 GB, free: 9.281 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.7123, allocations: 150.7 kB / 1.191 GB, free: 9.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.7125, allocations: 102.2 kB / 1.192 GB, free: 9.027 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.7126, allocations: 362.8 kB / 1.192 GB, free: 8.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.713, allocations: 241 kB / 1.192 GB, free: 8.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.7136, allocations: 406.4 kB / 1.193 GB, free: 7.957 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009472/0.7145, allocations: 0.674 MB / 1.193 GB, free: 7.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7145, allocations: 0 / 1.193 GB, free: 7.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001792/0.7163, allocations: 0.9292 MB / 1.194 GB, free: 6.266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.7164, allocations: 8 kB / 1.194 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7164, allocations: 4 kB / 1.194 GB, free: 6.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008051/0.7172, allocations: 230.6 kB / 1.194 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.7177, allocations: 107.9 kB / 1.194 GB, free: 5.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/0.7235, allocations: 5.348 MB / 1.2 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.724, allocations: 31.97 kB / 1.2 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.7241, allocations: 24 kB / 1.2 GB, free: 96 kB / 0.92 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.0003371/0.7244, allocations: 225.7 kB / 1.2 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.7245, allocations: 59.61 kB / 1.2 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.7262, allocations: 0.7811 MB / 1.201 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7262, allocations: 4.141 kB / 1.201 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7262, allocations: 3.984 kB / 1.201 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.7262, allocations: 7.984 kB / 1.201 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.7288, allocations: 1.499 MB / 1.202 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7289, allocations: 3.984 kB / 1.202 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.7293, allocations: 67.89 kB / 1.202 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007122/0.73, allocations: 198.4 kB / 1.202 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.73, allocations: 16 kB / 1.202 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/0.7355, allocations: 5.27 MB / 1.208 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7356, allocations: 4.031 kB / 1.208 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.7375, allocations: 1.127 MB / 1.209 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.7377, allocations: 180.7 kB / 1.209 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.7378, allocations: 8 kB / 1.209 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.7381, allocations: 24.16 kB / 1.209 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.7382, allocations: 43.89 kB / 1.209 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.7383, allocations: 8 kB / 1.209 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003713/0.7386, allocations: 310.9 kB / 1.209 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7387, allocations: 64 / 1.209 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006791/0.7393, allocations: 172 kB / 1.209 GB, free: 5.496 MB / 0.9356 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.002311/0.7417, allocations: 1.712 MB / 1.211 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.7434, allocations: 1.008 MB / 1.212 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7434, allocations: 128 / 1.212 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.7445, allocations: 0.6875 MB / 1.213 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.7454, allocations: 165.8 kB / 1.213 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008239/0.7536, allocations: 5.619 MB / 1.218 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.7543, allocations: 0.9416 MB / 1.219 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003514/0.7546, allocations: 125 kB / 1.219 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.7549, allocations: 207.4 kB / 1.22 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/0.7549, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/0.804, allocations: 14.12 MB / 1.233 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.96, allocations: 12.39 kB / 1.233 GB, free: 12.72 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches