Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_R,fileNamePrefix="Buildings_10_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_10_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.004965/0.004965, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001299/0.001299, allocations: 195.8 kB / 16.67 MB, free: 5.965 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.336/1.336, 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 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 67.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2496, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008394/0.258, allocations: 6.732 MB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00488/0.2629, allocations: 3.036 MB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.2635, allocations: 27.88 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.266, allocations: 0.9597 MB / 1.177 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.2673, allocations: 0.5207 MB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2683, allocations: 418.1 kB / 1.178 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.2697, allocations: 1.228 MB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009473/0.2706, allocations: 0.6702 MB / 1.179 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.2713, allocations: 470.4 kB / 1.18 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007184/0.272, allocations: 0.5215 MB / 1.18 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.2722, allocations: 64 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006741/0.2728, allocations: 387.2 kB / 1.181 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.2732, allocations: 307.2 kB / 1.181 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004773/0.2737, allocations: 453.7 kB / 1.182 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.275, allocations: 1.222 MB / 1.183 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.275, allocations: 0 / 1.183 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.275, allocations: 0 / 1.183 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.791e-05/0.2751, allocations: 0 / 1.183 GB, free: 6.25 MB / 0.9356 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.002016/0.2771, allocations: 1.183 MB / 1.184 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2771, allocations: 8.031 kB / 1.184 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.2773, allocations: 118.7 kB / 1.184 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.2789, allocations: 244.1 kB / 1.184 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009675/0.2799, allocations: 0.6003 MB / 1.185 GB, free: 4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.2799, allocations: 53.67 kB / 1.185 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2801, allocations: 64.31 kB / 1.185 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.2815, allocations: 1.085 MB / 1.186 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.2816, allocations: 11.89 kB / 1.186 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.2817, allocations: 31.98 kB / 1.186 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.2818, allocations: 89.19 kB / 1.186 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.283, allocations: 0.7543 MB / 1.187 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00521/0.2882, allocations: 5.867 MB / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009812/0.2892, allocations: 0.5601 MB / 1.193 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.2897, allocations: 326 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.2897, allocations: 4.438 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.2897, allocations: 42.94 kB / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 1.894e-06/0.2897, allocations: 4 kB / 1.194 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.003845/0.2936, allocations: 1.984 MB / 1.195 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2936, allocations: 63.84 kB / 1.195 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.2942, allocations: 0.5586 MB / 1.196 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.2943, allocations: 33.7 kB / 1.196 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.2946, allocations: 420.1 kB / 1.196 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.2947, allocations: 178.5 kB / 1.197 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.2949, allocations: 130.6 kB / 1.197 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.295, allocations: 378.7 kB / 1.197 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.2955, allocations: 273.8 kB / 1.197 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.296, allocations: 493 kB / 1.198 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2971, allocations: 0.8171 MB / 1.199 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2971, allocations: 3.938 kB / 1.199 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001836/0.2989, allocations: 1.087 MB / 1.2 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2989, allocations: 9.875 kB / 1.2 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.299, allocations: 8 kB / 1.2 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008599/0.2998, allocations: 279.5 kB / 1.2 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.3003, allocations: 127.8 kB / 1.2 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.3069, allocations: 7.146 MB / 1.207 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.3076, allocations: 35.97 kB / 1.207 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.3076, allocations: 32 kB / 1.207 GB, free: 11.63 MB / 0.9669 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.0003496/0.308, allocations: 269.5 kB / 1.207 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.3081, allocations: 71.58 kB / 1.208 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.3097, allocations: 0.8846 MB / 1.208 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3097, allocations: 4 kB / 1.208 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3097, allocations: 11.98 kB / 1.208 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3098, allocations: 0 / 1.208 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.3124, allocations: 1.713 MB / 1.21 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3125, allocations: 11.92 kB / 1.21 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.3127, allocations: 63.89 kB / 1.21 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000768/0.3135, allocations: 263.3 kB / 1.21 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.3136, allocations: 12 kB / 1.21 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/0.32, allocations: 7.12 MB / 1.217 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.32, allocations: 7.969 kB / 1.217 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3216, allocations: 0.9877 MB / 1.218 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.3219, allocations: 192.7 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.322, allocations: 20.11 kB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.3224, allocations: 27.97 kB / 1.219 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3226, allocations: 47.88 kB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.3226, allocations: 19.98 kB / 1.219 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000425/0.323, allocations: 379.1 kB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/0.323, allocations: 4 kB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007855/0.3238, allocations: 228 kB / 1.219 GB, free: 14.58 MB / 0.9825 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.001778/0.3256, allocations: 1.537 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.3276, allocations: 1.275 MB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3276, allocations: 0 / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.3289, allocations: 0.9046 MB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3299, allocations: 224.3 kB / 1.223 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008438/0.3384, allocations: 6.366 MB / 1.229 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.339, allocations: 1.009 MB / 1.23 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003747/0.3394, allocations: 126 kB / 1.23 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.3397, allocations: 247.4 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3397, allocations: 0 / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.3843, allocations: 17.37 MB / 1.248 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.51, allocations: 9.828 kB / 1.248 GB, free: 1.281 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches