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.001717/0.001717, allocations: 108 kB / 15.61 MB, free: 152 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.001979/0.001979, allocations: 197.4 kB / 16.53 MB, free: 6.699 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.557/2.557, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.89 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5096, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00647/0.5161, allocations: 5.466 MB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00357/0.5197, allocations: 2.619 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.5199, allocations: 23.81 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.5216, allocations: 0.6884 MB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006607/0.5223, allocations: 405.8 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.523, allocations: 388.2 kB / 1.027 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.5238, allocations: 0.959 MB / 1.028 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005514/0.5243, allocations: 468.7 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.5247, allocations: 374.6 kB / 1.029 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.5251, allocations: 394.5 kB / 1.029 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/0.5252, allocations: 48 kB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.5257, allocations: 359.3 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.526, allocations: 251.2 kB / 1.03 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.5263, allocations: 354.3 kB / 1.03 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000838/0.5271, allocations: 0.9578 MB / 1.031 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5271, allocations: 0 / 1.031 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5271, allocations: 0 / 1.031 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5272, allocations: 0 / 1.031 GB, free: 4.754 MB / 0.7794 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.001376/0.5285, allocations: 0.9737 MB / 1.032 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.5286, allocations: 8.031 kB / 1.032 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.5287, allocations: 94.7 kB / 1.032 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.5301, allocations: 195.9 kB / 1.032 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.5307, allocations: 490.4 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.5307, allocations: 41.31 kB / 1.033 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.5309, allocations: 52.55 kB / 1.033 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.5319, allocations: 0.8277 MB / 1.033 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.5319, allocations: 19.84 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.532, allocations: 20 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/0.5322, allocations: 64.94 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.533, allocations: 0.5697 MB / 1.034 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.5369, allocations: 4.585 MB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.5374, allocations: 291.3 kB / 1.039 GB, free: 12.01 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.5377, allocations: 229.3 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.5377, allocations: 4.281 kB / 1.039 GB, free: 11.78 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5377, allocations: 38.84 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.5377, allocations: 0 / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005364/0.5431, allocations: 2.63 MB / 1.042 GB, free: 8.977 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.5432, allocations: 59.41 kB / 1.042 GB, free: 8.906 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.5436, allocations: 461.8 kB / 1.042 GB, free: 8.445 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.5436, allocations: 33.7 kB / 1.042 GB, free: 8.406 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.5438, allocations: 335.7 kB / 1.042 GB, free: 8.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.544, allocations: 149.9 kB / 1.043 GB, free: 7.922 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.5441, allocations: 106.1 kB / 1.043 GB, free: 7.812 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5442, allocations: 362.8 kB / 1.043 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.5446, allocations: 233 kB / 1.043 GB, free: 7.223 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.545, allocations: 414.4 kB / 1.044 GB, free: 6.738 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.5459, allocations: 0.674 MB / 1.044 GB, free: 5.992 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.5459, allocations: 4 kB / 1.044 GB, free: 5.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001623/0.5475, allocations: 0.9136 MB / 1.045 GB, free: 5.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5475, allocations: 15.97 kB / 1.045 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.5475, allocations: 8 kB / 1.045 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007769/0.5483, allocations: 226.3 kB / 1.045 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.5488, allocations: 115.8 kB / 1.046 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.5536, allocations: 5.351 MB / 1.051 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.554, allocations: 31.97 kB / 1.051 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.5541, allocations: 20 kB / 1.051 GB, free: 14.86 MB / 0.8106 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.0002371/0.5543, allocations: 229.7 kB / 1.051 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.5544, allocations: 59.28 kB / 1.051 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.5559, allocations: 0.7697 MB / 1.052 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.5559, allocations: 4 kB / 1.052 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5559, allocations: 4 kB / 1.052 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5559, allocations: 0 / 1.052 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.5582, allocations: 1.491 MB / 1.053 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5582, allocations: 4.219 kB / 1.053 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.5586, allocations: 71.88 kB / 1.053 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006656/0.5593, allocations: 206.4 kB / 1.054 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.5593, allocations: 8 kB / 1.054 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/0.5638, allocations: 5.274 MB / 1.059 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5639, allocations: 4 kB / 1.059 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.5655, allocations: 1.131 MB / 1.06 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.5657, allocations: 176.6 kB / 1.06 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.5658, allocations: 8 kB / 1.06 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.5662, allocations: 27.97 kB / 1.06 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.5663, allocations: 40.06 kB / 1.06 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.5663, allocations: 20 kB / 1.06 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002967/0.5666, allocations: 306.9 kB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5666, allocations: 0 / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005791/0.5672, allocations: 168 kB / 1.061 GB, free: 4.285 MB / 0.8106 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.00193/0.5691, allocations: 1.711 MB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.5707, allocations: 1.047 MB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5707, allocations: 0 / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009323/0.5716, allocations: 0.6916 MB / 1.064 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.5725, allocations: 172.6 kB / 1.064 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/0.5795, allocations: 5.683 MB / 1.07 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.58, allocations: 0.9455 MB / 1.071 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003339/0.5803, allocations: 113 kB / 1.071 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.5806, allocations: 207.4 kB / 1.071 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.5806, allocations: 0 / 1.071 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.6157, allocations: 13.93 MB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.469, allocations: 17.75 kB / 1.085 GB, free: 11.58 MB / 0.8419 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