Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_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.001198/0.001198, 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.001205/0.001205, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.314/1.314, 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 11.0.1-master/package.mo): time 2.668/2.668, allocations: 469.4 MB / 0.742 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.78 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2575, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008319/0.2658, allocations: 6.741 MB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004633/0.2705, allocations: 3.04 MB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.271, allocations: 27.81 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.2734, allocations: 0.9397 MB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.2746, allocations: 0.5051 MB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2756, allocations: 423 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.277, allocations: 1.221 MB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009519/0.278, allocations: 0.6664 MB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.2786, allocations: 474.2 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.2794, allocations: 0.5176 MB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.2795, allocations: 64 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.2803, allocations: 383.2 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.2806, allocations: 303.2 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.281, allocations: 453.7 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.2821, allocations: 1.199 MB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2821, allocations: 0 / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2821, allocations: 0 / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.2821, allocations: 0 / 1.08 GB, free: 13.57 MB / 0.8419 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.001681/0.2838, allocations: 1.161 MB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2839, allocations: 12.03 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.284, allocations: 118.7 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.2855, allocations: 239.6 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/0.2862, allocations: 0.5376 MB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.2863, allocations: 49.67 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.2864, allocations: 72.2 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.2877, allocations: 1.085 MB / 1.083 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.2878, allocations: 11.92 kB / 1.083 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.2878, allocations: 27.98 kB / 1.083 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.288, allocations: 89.19 kB / 1.083 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.2891, allocations: 0.7543 MB / 1.084 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.2939, allocations: 5.89 MB / 1.09 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.2949, allocations: 0.5626 MB / 1.091 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.2953, allocations: 326 kB / 1.091 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.2953, allocations: 8.438 kB / 1.091 GB, free: 2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2954, allocations: 42.94 kB / 1.091 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.2954, allocations: 0 / 1.091 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003619/0.299, allocations: 1.982 MB / 1.093 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.2991, allocations: 55.84 kB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.2996, allocations: 0.5509 MB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.2997, allocations: 33.7 kB / 1.093 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.2999, allocations: 410.9 kB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3001, allocations: 169.6 kB / 1.094 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.3002, allocations: 126.5 kB / 1.094 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3004, allocations: 374.7 kB / 1.094 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.3008, allocations: 285.8 kB / 1.095 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.3013, allocations: 489 kB / 1.095 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/0.3023, allocations: 0.8171 MB / 1.096 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3023, allocations: 3.938 kB / 1.096 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001735/0.3041, allocations: 1.094 MB / 1.097 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3041, allocations: 8 kB / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3041, allocations: 8 kB / 1.097 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008083/0.3049, allocations: 279.6 kB / 1.097 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.3054, allocations: 131.8 kB / 1.098 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006108/0.3115, allocations: 7.134 MB / 1.104 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.3121, allocations: 39.95 kB / 1.105 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.3121, allocations: 28 kB / 1.105 GB, free: 3.051 MB / 0.8575 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.0002874/0.3124, allocations: 263.8 kB / 1.105 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3125, allocations: 71.16 kB / 1.105 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.314, allocations: 0.8885 MB / 1.106 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.314, allocations: 4 kB / 1.106 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.314, allocations: 4 kB / 1.106 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3141, allocations: 3.984 kB / 1.106 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.3164, allocations: 1.713 MB / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3165, allocations: 7.938 kB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.3167, allocations: 63.84 kB / 1.107 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000724/0.3175, allocations: 275.3 kB / 1.108 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.3175, allocations: 12 kB / 1.108 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005964/0.3235, allocations: 7.123 MB / 1.115 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3235, allocations: 11.95 kB / 1.115 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.3249, allocations: 0.9873 MB / 1.116 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.3251, allocations: 184.3 kB / 1.116 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.3252, allocations: 15.84 kB / 1.116 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.3256, allocations: 27.97 kB / 1.116 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.3257, allocations: 51.88 kB / 1.116 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.3258, allocations: 16 kB / 1.116 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004139/0.3262, allocations: 379.1 kB / 1.116 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3262, allocations: 4 kB / 1.116 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006984/0.3269, allocations: 224 kB / 1.117 GB, free: 6.008 MB / 0.8731 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.001668/0.3286, allocations: 1.534 MB / 1.118 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.3305, allocations: 1.338 MB / 1.119 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3305, allocations: 0 / 1.119 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.3317, allocations: 0.8855 MB / 1.12 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009773/0.3327, allocations: 219.8 kB / 1.12 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007974/0.3407, allocations: 6.527 MB / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.3413, allocations: 1.005 MB / 1.128 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003973/0.3417, allocations: 130 kB / 1.128 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.342, allocations: 255.3 kB / 1.128 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of SimCode: time 3.61e-07/0.342, allocations: 0 / 1.128 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.3842, allocations: 17.12 MB / 1.145 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.282/9.666, allocations: 18.22 kB / 1.145 GB, free: 8.73 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.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_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches