Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.005631/0.005631, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001581/0.001581, allocations: 197.2 kB / 16.68 MB, free: 5.934 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 482.4 MB / 0.7548 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001817, allocations: 65.06 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2759, allocations: 162.2 MB / 1.241 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007765/0.2837, allocations: 6.098 MB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004679/0.2884, allocations: 3.141 MB / 1.25 GB, free: 20 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.2886, allocations: 27.86 kB / 1.25 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.2908, allocations: 0.9293 MB / 1.251 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.2917, allocations: 477.5 kB / 1.252 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.2927, allocations: 486.8 kB / 1.252 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.2938, allocations: 1.088 MB / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008475/0.2947, allocations: 0.6546 MB / 1.254 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.2952, allocations: 430.4 kB / 1.254 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.2958, allocations: 474.2 kB / 1.255 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.296, allocations: 60 kB / 1.255 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008011/0.2968, allocations: 487 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.2971, allocations: 283.3 kB / 1.256 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.2975, allocations: 401.9 kB / 1.256 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.2988, allocations: 1.179 MB / 1.257 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2988, allocations: 3.938 kB / 1.257 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2988, allocations: 0 / 1.257 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.2988, allocations: 0 / 1.257 GB, free: 9.086 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001512/0.3003, allocations: 1.07 MB / 1.258 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.3004, allocations: 8.031 kB / 1.258 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.3005, allocations: 118.7 kB / 1.258 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.3019, allocations: 232.1 kB / 1.259 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/0.3028, allocations: 0.5848 MB / 1.259 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.3028, allocations: 49.67 kB / 1.259 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.98e-05/0.3029, allocations: 56.38 kB / 1.259 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3044, allocations: 1.034 MB / 1.26 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.3044, allocations: 15.89 kB / 1.26 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.3045, allocations: 31.98 kB / 1.26 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.3046, allocations: 73.25 kB / 1.26 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.3057, allocations: 0.6918 MB / 1.261 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005049/0.3107, allocations: 5.734 MB / 1.267 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008334/0.3116, allocations: 0.5904 MB / 1.267 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/0.3124, allocations: 439.6 kB / 1.268 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.3125, allocations: 4 kB / 1.268 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3125, allocations: 42.48 kB / 1.268 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.3125, allocations: 0 / 1.268 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.004272/0.3168, allocations: 2.023 MB / 1.27 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.3168, allocations: 55.41 kB / 1.27 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.3173, allocations: 458.8 kB / 1.27 GB, free: 11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3173, allocations: 29.7 kB / 1.27 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.3176, allocations: 404 kB / 1.271 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.3177, allocations: 154.7 kB / 1.271 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.3179, allocations: 114.2 kB / 1.271 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3181, allocations: 362.8 kB / 1.271 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.3185, allocations: 245.2 kB / 1.271 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.319, allocations: 453.5 kB / 1.272 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009631/0.32, allocations: 0.748 MB / 1.273 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.32, allocations: 4 kB / 1.273 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001869/0.3219, allocations: 1.042 MB / 1.274 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3219, allocations: 8 kB / 1.274 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3219, allocations: 15.92 kB / 1.274 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009882/0.3229, allocations: 319.7 kB / 1.274 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.3232, allocations: 99.81 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/0.3307, allocations: 7.467 MB / 1.281 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.3311, allocations: 40.02 kB / 1.281 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.3311, allocations: 24 kB / 1.281 GB, free: 14.7 MB / 1.014 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003044/0.3315, allocations: 241.6 kB / 1.282 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/0.3316, allocations: 63.56 kB / 1.282 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.3333, allocations: 0.8963 MB / 1.283 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3333, allocations: 4 kB / 1.283 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3333, allocations: 11.98 kB / 1.283 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3333, allocations: 0 / 1.283 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.336, allocations: 1.669 MB / 1.284 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.336, allocations: 0 / 1.284 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.3362, allocations: 47.84 kB / 1.284 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000945/0.3371, allocations: 323.6 kB / 1.285 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3372, allocations: 8 kB / 1.285 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007449/0.3446, allocations: 7.46 MB / 1.292 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3447, allocations: 7.875 kB / 1.292 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.3463, allocations: 0.9913 MB / 1.293 GB, free: 2.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.3466, allocations: 172.7 kB / 1.293 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.3466, allocations: 15.94 kB / 1.293 GB, free: 2.047 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.3469, allocations: 27.86 kB / 1.293 GB, free: 2.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.347, allocations: 35.94 kB / 1.293 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.3471, allocations: 16 kB / 1.293 GB, free: 1.969 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003362/0.3474, allocations: 306.9 kB / 1.293 GB, free: 1.672 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3474, allocations: 0 / 1.293 GB, free: 1.672 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007242/0.3481, allocations: 196 kB / 1.294 GB, free: 1.48 MB / 1.014 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00205/0.3502, allocations: 1.551 MB / 1.295 GB, free: 15.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.352, allocations: 1.202 MB / 1.296 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3521, allocations: 0 / 1.296 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.3533, allocations: 0.8545 MB / 1.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009509/0.3543, allocations: 204.8 kB / 1.297 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007953/0.3622, allocations: 5.851 MB / 1.303 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.3629, allocations: 0.996 MB / 1.304 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000251/0.3631, allocations: 97.17 kB / 1.304 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.3634, allocations: 227.4 kB / 1.304 GB, free: 6 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3634, allocations: 0 / 1.304 GB, free: 6 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.99/2.353, allocations: 15.26 MB / 1.319 GB, free: 6.988 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/13.23, allocations: 22.2 kB / 1.319 GB, free: 6.977 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches